io.github.jistol.remote.annotation.RmiClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jistol-spring-remote Show documentation
Show all versions of jistol-spring-remote Show documentation
You can set up Spring RMI and HttpInvoker in only two steps.
Step 1. Set @EnableRemoteType on application main.
Step 2. Add @RemoteType on your service(or component, resource ...)
The newest version!
package io.github.jistol.remote.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by kimjh on 2017-03-07.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface RmiClient
{
String ip();
String port() default "";
boolean lookupStubOnStartup() default true;
boolean cacheStub() default true;
boolean refreshStubOnConnectFailure() default false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy