|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.server.JmsServer
org.exolab.jms.server.EmbeddedJmsServer
JmsServer
.
public class EmbeddedJmsServer
This class is used to embed the JMS Server in another component, e.g an
EJB or Servlet container etc. It implements Runnable and should
be instantiated in its own thread.
new Thread(new EmbeddedJmsServer("jms_config.xml"))
Constructor Summary | |
---|---|
EmbeddedJmsServer(org.exolab.jms.config.Configuration config)
Deprecated. Construct a new EmbeddedJmsServer |
|
EmbeddedJmsServer(java.lang.String file)
Deprecated. Construct a new EmbeddedJmsServer |
Method Summary | |
---|---|
ServiceManager |
getServiceManager()
Deprecated. no replacement |
void |
run()
Deprecated. This method calls the init method on the serverObj_.It assumes that the serverObj, has been correctly initialised, which is the responsibility of the constructor. |
Methods inherited from class org.exolab.jms.server.JmsServer |
---|
getServices, init, main, registerServices, usage, version |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedJmsServer(org.exolab.jms.config.Configuration config) throws ServerException
EmbeddedJmsServer
config
- the server configuration
ServerException
- if the server cannot be createdpublic EmbeddedJmsServer(java.lang.String file) throws ServerException
EmbeddedJmsServer
file
- configuration file name
ServerException
- if the server cannot be createdMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
public ServiceManager getServiceManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |