public class ConnectorServerFactory
extends org.springframework.jmx.support.ConnectorServerFactoryBean
JMXConnectorServer
,
optionally registers it with the MBeanServer
and then starts it.Constructor and Description |
---|
ConnectorServerFactory() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Wraps original initialization method to log errors, rather than having
exceptions occur within the Spring framework itself (this would cause the entire webapp to fail)
|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables JMX connectivity during initialization, see
afterPropertiesSet() |
destroy, getObject, getObjectType, isSingleton, setDaemon, setEnvironment, setEnvironmentMap, setForwarder, setObjectName, setServiceUrl, setThreaded
public boolean isEnabled()
public void setEnabled(boolean enabled)
afterPropertiesSet()
enabled
- booleanpublic void afterPropertiesSet() throws JMException, IOException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.springframework.jmx.support.ConnectorServerFactoryBean
JMException
IOException
ConnectorServerFactoryBean.afterPropertiesSet()
Copyright © 2005–2017 Alfresco Software. All rights reserved.