org.hornetq.jms.server.impl
Class StandaloneNamingServer
java.lang.Object
org.hornetq.jms.server.impl.StandaloneNamingServer
- All Implemented Interfaces:
- org.hornetq.core.server.HornetQComponent
public class StandaloneNamingServer
- extends Object
- implements org.hornetq.core.server.HornetQComponent
This server class is only used in the standalone mode, its used to control the life cycle of the Naming Server to allow
it to be activated and deactivated
- Author:
- Andy Taylor
11/8/12
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandaloneNamingServer
public StandaloneNamingServer(org.hornetq.core.server.HornetQServer server)
start
public void start()
throws Exception
- Specified by:
start
in interface org.hornetq.core.server.HornetQComponent
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface org.hornetq.core.server.HornetQComponent
- Throws:
Exception
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface org.hornetq.core.server.HornetQComponent
setPort
public void setPort(int port)
setBindAddress
public void setBindAddress(String bindAddress)
setRmiPort
public void setRmiPort(int rmiPort)
setRmiBindAddress
public void setRmiBindAddress(String rmiBindAddress)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.