open class ConnectorServerFactoryBean : MBeanRegistrationSupport, FactoryBean<JMXConnectorServer>, InitializingBean, DisposableBean
FactoryBean that creates a JSR-160 JMXConnectorServer, optionally registers it with the MBeanServer and then starts it.
The JMXConnectorServer can be started in a separate thread by setting the threaded property to true. You can configure this thread to be a daemon thread by setting the daemon property to true.
The JMXConnectorServer is correctly shutdown when an instance of this class is destroyed on shutdown of the containing ApplicationContext.
Author
Rob Harrop
Author
Juergen Hoeller
Since
1.2
See Also
JMXConnectorServerMBeanServer
ConnectorServerFactoryBean()
FactoryBean that creates a JSR-160 JMXConnectorServer, optionally registers it with the MBeanServer and then starts it. The The |
static val DEFAULT_SERVICE_URL: String
The default service URL |
open fun afterPropertiesSet(): Unit
Start the connector server. If the |
|
open fun destroy(): Unit
Stop the |
|
open fun getObject(): JMXConnectorServer |
|
open fun getObjectType(): Class<out JMXConnectorServer> |
|
open fun isSingleton(): Boolean |
|
open fun setDaemon(daemon: Boolean): Unit
Set whether any threads started for the |
|
open fun setEnvironment(environment: Properties): Unit
Set the environment properties used to construct the |
|
open fun setEnvironmentMap(environment: MutableMap<String, *>): Unit
Set the environment properties used to construct the |
|
open fun setForwarder(forwarder: MBeanServerForwarder): Unit
Set an MBeanServerForwarder to be applied to the |
|
open fun setObjectName(objectName: Any): Unit
Set the |
|
open fun setServiceUrl(serviceUrl: String): Unit
Set the service URL for the |
|
open fun setThreaded(threaded: Boolean): Unit
Set whether the |