|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.server.JmsServer
This class contains the main line for instantiating the JMS Server. It dynamically detemrines, from the configuration information which of the servers to implement and then calls the init method on them.
Constructor Summary | |
JmsServer(Configuration config)
Construct a new JmsServer . |
|
JmsServer(java.lang.String file)
Construct a new JmsServer , configured from the specified
configuration file. |
Method Summary | |
protected Services |
getServices()
Deprecated. no replacement |
void |
init()
Initialise the server |
static void |
main(java.lang.String[] args)
This is the main line for the JMS Server. |
protected void |
registerServices()
Initialise the services |
protected static void |
usage()
Print out information on running this sevice |
static void |
version()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JmsServer(Configuration config)
JmsServer
.config
- the server configurationpublic JmsServer(java.lang.String file) throws ServerException
JmsServer
, configured from the specified
configuration file.file
- configuration file nameServerException
- if the server cannot be createdMethod Detail |
public void init() throws javax.naming.NamingException, ServiceException
javax.naming.NamingException
- if administered objects cannot be bound in JNDIServiceException
- if the server cannot be initialisedpublic static void main(java.lang.String[] args)
public static void version()
protected static void usage()
protected Services getServices()
protected void registerServices() throws ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |