public class RmiRegistry extends AbstractResourceAdapter
| Constructor and Description |
|---|
RmiRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRmiService(RmiService service)
Add an RMI service to register with this Registry.
|
int |
getPort()
The port for the Registry.
|
java.lang.String |
getServer() |
void |
init() |
void |
setPort(int port)
The port for the Registry, default is 1099.
|
void |
setServer(java.lang.String server)
The server that runs the RMI registry.
|
void |
start(BootstrapContext ctx)
Called when the resource starts.
|
void |
stop()
stop (unbind and unexport) all services
|
endpointActivation, endpointDeactivation, getXAResourcespublic void setServer(java.lang.String server)
public java.lang.String getServer()
public void setPort(int port)
public int getPort()
public void addRmiService(RmiService service) throws ConfigException
ConfigException@PostConstruct public void init() throws ConfigException
ConfigExceptionpublic void start(BootstrapContext ctx) throws ResourceAdapterInternalException
AbstractResourceAdapterstart in interface ResourceAdapterstart in class AbstractResourceAdapterResourceAdapterInternalExceptionpublic void stop()
stop in interface ResourceAdapterstop in class AbstractResourceAdapter