Class AcceptorControlImpl
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.activemq.artemis.core.management.impl.AbstractControl
-
- org.apache.activemq.artemis.core.management.impl.AcceptorControlImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,AcceptorControl,ActiveMQComponentControl
public class AcceptorControlImpl extends AbstractControl implements AcceptorControl
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager
-
-
Constructor Summary
Constructors Constructor Description AcceptorControlImpl(Acceptor acceptor, StorageManager storageManager, TransportConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MBeanAttributeInfo[]fillMBeanAttributeInfo()protected MBeanOperationInfo[]fillMBeanOperationInfo()StringgetFactoryClassName()Returns the class name of the AcceptorFactory implementation used by this acceptor.StringgetName()Returns the name of the acceptorMap<String,Object>getParameters()Returns the parameters used to configure this acceptorbooleanisStarted()Returnstrueif this component is started,falseelse.voidreload()Re-create the acceptor with the existing configuration values.voidstart()Starts this component.voidstop()Stops this component.-
Methods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvoke
-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
-
-
-
Constructor Detail
-
AcceptorControlImpl
public AcceptorControlImpl(Acceptor acceptor, StorageManager storageManager, TransportConfiguration configuration) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getFactoryClassName
public String getFactoryClassName()
Description copied from interface:AcceptorControlReturns the class name of the AcceptorFactory implementation used by this acceptor.- Specified by:
getFactoryClassNamein interfaceAcceptorControl
-
getName
public String getName()
Description copied from interface:AcceptorControlReturns the name of the acceptor- Specified by:
getNamein interfaceAcceptorControl
-
getParameters
public Map<String,Object> getParameters()
Description copied from interface:AcceptorControlReturns the parameters used to configure this acceptor- Specified by:
getParametersin interfaceAcceptorControl
-
reload
public void reload()
Description copied from interface:AcceptorControlRe-create the acceptor with the existing configuration values. Useful, for example, for reloading key/trust stores on acceptors which support SSL.- Specified by:
reloadin interfaceAcceptorControl
-
isStarted
public boolean isStarted()
Description copied from interface:ActiveMQComponentControlReturnstrueif this component is started,falseelse.- Specified by:
isStartedin interfaceActiveMQComponentControl
-
start
public void start() throws ExceptionDescription copied from interface:ActiveMQComponentControlStarts this component.- Specified by:
startin interfaceActiveMQComponentControl- Throws:
Exception
-
stop
public void stop() throws ExceptionDescription copied from interface:ActiveMQComponentControlStops this component.- Specified by:
stopin interfaceActiveMQComponentControl- Throws:
Exception
-
fillMBeanOperationInfo
protected MBeanOperationInfo[] fillMBeanOperationInfo()
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-
-