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, setThreadedpublic boolean isEnabled()
public void setEnabled(boolean enabled)
afterPropertiesSet()enabled - booleanpublic void afterPropertiesSet()
throws JMException,
IOException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.jmx.support.ConnectorServerFactoryBeanJMExceptionIOExceptionConnectorServerFactoryBean.afterPropertiesSet()Copyright © 2005–2018 Alfresco Software. All rights reserved.