Interface QBeanSupportMBean
- All Known Subinterfaces:
ChannelAdaptorMBean, DirPollAdaptorMBean, KeyStoreAdaptorMBean, MultiSessionChannelAdaptorMBean, MUXPoolMBean, OneShotChannelAdaptorMBean, OneShotChannelAdaptorMK2MBean, QBeanFactoryMBean, QExecMBean, QMUXMBean, QMUXProxyAdaptorMBean, QServerMBean, QThreadPoolExecutorMBean, SMAdaptorMBean, SpaceAdaptorMBean, SpaceProxyAdaptorMBean, SystemMonitorMBean, TransactionManagerMBean
- All Known Implementing Classes:
BSH, ChannelAdaptor, ContextMaker, DailyTaskAdaptor, DirPollAdaptor, KeyStoreAdaptor, LoggerAdaptor, LoggerService, MultiSessionChannelAdaptor, MUXPool, OneShotChannelAdaptor, OneShotChannelAdaptorMK2, PrometheusService, QBeanAsyncSupport, QBeanFactory, QBeanSupport, QConfig, QExec, QMUX, QMUXProxyAdaptor, QServer, QSingleInstanceFileBasedManager, QSingleInstancePortBasedManager, QThreadPoolExecutor, QXmlConfig, Shutdown, SMAdaptor, SpaceAdaptor, SpaceLet, SpaceProxyAdaptor, SystemMonitor, TaskAdaptor, TemplateDeployer, TransactionManager, UI
JMX management interface for
QBeanSupport-based QBeans.-
Field Summary
Fields inherited from interface QBean
DESTROYED, FAILED, STARTED, STARTING, stateString, STOPPED, STOPPINGModifier and TypeFieldDescriptionstatic final intQBean has been destroyed.static final intQBean has failed.static final intQBean is running.static final intQBean is in the process of starting.static final String[]Human-readable names for each QBean state, indexed by state constant.static final intQBean is stopped.static final intQBean is in the process of stopping. -
Method Summary
Modifier and TypeMethodDescriptiongetDump()Returns a human-readable dump of this bean's state.Returns the QClassLoader for this bean.URL[]Returns the URLs registered with the class loader.Returns the logger name.getName()Returns the bean name.getRealm()Returns the logging realm.Returns the Q2 server instance.voidSets the logger by name.voidSets the bean name.voidsetPersist(org.jdom2.Element e) Sets the persistent configuration element.voidSets the logging realm.voidSets the Q2 server instance for this QBean.Methods inherited from interface QBean
destroy, getState, getStateAsString, init, start, stopMethods inherited from interface QPersist
getPersist, isModifiedModifier and TypeMethodDescriptionorg.jdom2.ElementReturns the persistent configuration element for this QBean.booleanReturnstrueif this QBean's configuration has been modified since last save.
-
Method Details
-
setServer
-
getServer
-
setPersist
Sets the persistent configuration element.- Parameters:
e- the configuration element
-
setName
-
getName
-
setLogger
-
setRealm
-
getRealm
-
getLogger
-
getLoaderURLS
URL[] getLoaderURLS()Returns the URLs registered with the class loader.- Returns:
- array of loader URLs
-
getLoader
-
getDump
-