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
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager -
Constructor Summary
ConstructorsConstructorDescriptionAcceptorControlImpl(Acceptor acceptor, StorageManager storageManager, TransportConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]protected MBeanOperationInfo[]Returns the class name of the AcceptorFactory implementation used by this acceptor.getName()Returns the name of the acceptor.Returns the parameters used to configure this acceptor.booleanReturnstrueif 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, tcclInvokeMethods 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 Details
-
AcceptorControlImpl
public AcceptorControlImpl(Acceptor acceptor, StorageManager storageManager, TransportConfiguration configuration) throws Exception - Throws:
Exception
-
-
Method Details
-
getFactoryClassName
Description copied from interface:AcceptorControlReturns the class name of the AcceptorFactory implementation used by this acceptor.- Specified by:
getFactoryClassNamein interfaceAcceptorControl- Returns:
- the class name of the AcceptorFactory implementation used by this acceptor
-
getName
Description copied from interface:AcceptorControlReturns the name of the acceptor.- Specified by:
getNamein interfaceAcceptorControl- Returns:
- the name of the acceptor
-
getParameters
Description copied from interface:AcceptorControlReturns the parameters used to configure this acceptor.- Specified by:
getParametersin interfaceAcceptorControl- Returns:
- the parameters used to configure this acceptor
-
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- Returns:
trueif this component is started,falseelse.
-
start
Description copied from interface:ActiveMQComponentControlStarts this component.- Specified by:
startin interfaceActiveMQComponentControl- Throws:
Exception
-
stop
Description copied from interface:ActiveMQComponentControlStops this component.- Specified by:
stopin interfaceActiveMQComponentControl- Throws:
Exception
-
fillMBeanOperationInfo
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-