| java.lang.Object com.caucho.jca.AbstractResourceAdapter com.caucho.resources.rmi.RmiRegistry
RmiRegistry | public class RmiRegistry extends AbstractResourceAdapter (Code) | | An RMI registry and its services. This resource is used to register
services with an RMI Registry. The Registry is either on localhost, in
which case it is created in the local JVM unless it already exists, or the
Registry is on a remote server, in which case it is assumed that the
Registry has already been started.
|
Field Summary | |
final static L10N | L | final protected static Logger | log |
addRmiService | public void addRmiService(RmiService service) throws ConfigException(Code) | | Add an RMI service to register with this Registry.
|
getPort | public int getPort()(Code) | | The port for the Registry.
|
init | public void init() throws ConfigException(Code) | | |
makeFullName | String makeFullName(String serviceName)(Code) | | Make a full name for a service with this registry and
the given serviceName.
|
setPort | public void setPort(int port)(Code) | | The port for the Registry, default is 1099.
|
setServer | public void setServer(String server)(Code) | | The server that runs the RMI registry. If this is `localhost' (the
default), then the Registry is created on the localhost if it does not
already exist. If the server is not localhost, then it is assumed that
the remote Registry already exists.
|
start | public void start(BootstrapContext ctx) throws ResourceAdapterInternalException(Code) | | |
stop | public void stop() throws ResourceAdapterInternalException(Code) | | stop (unbind and unexport) all services
|
Methods inherited from com.caucho.jca.AbstractResourceAdapter | public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws NotSupportedException(Code)(Java Doc) public void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)(Code)(Java Doc) public XAResource[] getXAResources(ActivationSpec[] specs) throws ResourceException(Code)(Java Doc) public void start(BootstrapContext ctx) throws ResourceAdapterInternalException(Code)(Java Doc) public void stop() throws ResourceAdapterInternalException(Code)(Java Doc)
|
|
|