Class FileBroker
- java.lang.Object
-
- org.apache.activemq.artemis.integration.FileBroker
-
- All Implemented Interfaces:
ActiveMQComponent,ServiceComponent,Broker
public class FileBroker extends Object implements Broker
-
-
Constructor Summary
Constructors Constructor Description FileBroker(ServerDTO broker, ActiveMQSecurityManager security, ActivateCallback activateCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateComponents()Map<String,ActiveMQComponent>getComponents()ActiveMQServergetServer()booleanisStarted()voidstart()voidstop()voidstop(boolean isShutdown)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop
-
-
-
-
Constructor Detail
-
FileBroker
public FileBroker(ServerDTO broker, ActiveMQSecurityManager security, ActivateCallback activateCallback)
-
-
Method Detail
-
start
public void start() throws Exception- Specified by:
startin interfaceActiveMQComponent- Throws:
Exception
-
stop
public void stop() throws Exception- Specified by:
stopin interfaceActiveMQComponent- Throws:
Exception
-
stop
public void stop(boolean isShutdown) throws Exception- Specified by:
stopin interfaceServiceComponent- Throws:
Exception
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceActiveMQComponent
-
getComponents
public Map<String,ActiveMQComponent> getComponents()
-
createComponents
public void createComponents() throws Exception- Specified by:
createComponentsin interfaceBroker- Throws:
Exception
-
getServer
public ActiveMQServer getServer()
-
-