|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.service.Service
org.exolab.jms.server.ConnectorService
public class ConnectorService
Service that manages the connectors configured for the server.
Constructor Summary | |
---|---|
ConnectorService(org.exolab.jms.config.Configuration config,
org.exolab.jms.net.connector.Authenticator authenticator,
ServerConnectionFactory factory,
AdminConnectionManager manager,
NameService names,
org.exolab.jms.common.threads.ThreadPoolFactory threads)
Construct a new ConnectorService . |
Method Summary | |
---|---|
protected void |
doStart()
Start the service. |
protected void |
doStop()
Stop the service. |
protected ServerConnector |
initConnector(org.exolab.jms.config.Connector connector,
javax.naming.Context context)
Create an interface to the server for the specified connector. |
protected void |
initConnectors(javax.naming.Context context)
Creates an interface to the server for each configured connector. |
Methods inherited from class org.exolab.jms.service.Service |
---|
getName, isStarted, restart, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectorService(org.exolab.jms.config.Configuration config, org.exolab.jms.net.connector.Authenticator authenticator, ServerConnectionFactory factory, AdminConnectionManager manager, NameService names, org.exolab.jms.common.threads.ThreadPoolFactory threads)
ConnectorService
.
config
- the configuration to usenames
- the name serviceMethod Detail |
---|
protected void doStart() throws ServiceException
doStart
in class Service
ServiceException
- if the service fails to startprotected void doStop() throws ServiceException
doStop
in class Service
ServiceException
- if the service fails to stopprotected void initConnectors(javax.naming.Context context) throws javax.naming.NamingException, ServiceException
context
- the initial context
javax.naming.NamingException
- if administered objects cannot be bound in JNDI
ServiceException
- if an interface can't be createdprotected ServerConnector initConnector(org.exolab.jms.config.Connector connector, javax.naming.Context context) throws javax.naming.NamingException, ServiceException
connector
- the connectorcontext
- the initial context
connector
javax.naming.NamingException
- if administered objects cannot be bound in JNDI
ServiceException
- if the interface can't be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |