|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.core.service.Service
org.exolab.core.util.RmiRegistryService
RmiRegistryService is a service that starts an embedded RMI registry.
BasicService,
Serialized Form| Field Summary | |
static java.lang.String |
DEFAULT_NAME
The default service name |
static int |
DEFAULT_PORT
The default registry port |
| Constructor Summary | |
RmiRegistryService()
Construct a service. |
|
RmiRegistryService(int port)
Construct the service to run on the specified port. |
|
RmiRegistryService(java.lang.String name,
int port)
Construct an instance of this service with the specified name. |
|
| Method Summary | |
int |
getPort()
Return the port that the registry is listening on |
| Methods inherited from class org.exolab.core.service.Service |
getName, getState, restart, setState, start, stop, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_NAME
public static final int DEFAULT_PORT
| Constructor Detail |
public RmiRegistryService()
throws ServiceException
ServiceException
public RmiRegistryService(int port)
throws ServiceException
port - the port number
ServiceException - if the registry cannot be created for the port
public RmiRegistryService(java.lang.String name,
int port)
throws ServiceException
name - the name of the serviceport - the port number
ServiceException - if the registry cannot be created for the port| Method Detail |
public int getPort()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||