public class StartupPlugin
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
StartupPlugin() |
Modifier and Type | Method and Description |
---|---|
static <T extends java.rmi.Remote> |
register(java.lang.Class<T> clazz,
java.lang.String name,
java.lang.String registryIp,
int port) |
static void |
unregister(java.lang.String name,
java.lang.String registryIp) |
static void |
unregister(java.lang.String name,
java.lang.String registryIp,
int port) |
public static <T extends java.rmi.Remote> void register(java.lang.Class<T> clazz, java.lang.String name, java.lang.String registryIp, int port) throws java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.rmi.RemoteException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.net.MalformedURLException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.rmi.RemoteException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.net.MalformedURLException
public static void unregister(java.lang.String name, java.lang.String registryIp, int port) throws java.rmi.RemoteException, java.rmi.NotBoundException, java.net.MalformedURLException
java.rmi.RemoteException
java.rmi.NotBoundException
java.net.MalformedURLException
public static void unregister(java.lang.String name, java.lang.String registryIp) throws java.rmi.RemoteException, java.rmi.NotBoundException, java.net.MalformedURLException
java.rmi.RemoteException
java.rmi.NotBoundException
java.net.MalformedURLException