public class WebSphereMBeanServerFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<javax.management.MBeanServer>, org.springframework.beans.factory.InitializingBean
FactoryBean that obtains a WebSphere MBeanServer
reference through WebSphere's proprietary AdminServiceFactory API,
available on WebSphere 5.1 and higher.
Exposes the MBeanServer for bean references.
This FactoryBean is a direct alternative to MBeanServerFactoryBean,
which uses standard JMX 1.2 API to access the platform's MBeanServer.
See the javadocs for WebSphere's
AdminServiceFactory
and MBeanFactory.
MBeanServer,
MBeanServerFactoryBean| Constructor and Description |
|---|
WebSphereMBeanServerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
javax.management.MBeanServer |
getObject() |
java.lang.Class<? extends javax.management.MBeanServer> |
getObjectType() |
boolean |
isSingleton() |
public void afterPropertiesSet()
throws MBeanServerNotFoundException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanMBeanServerNotFoundExceptionpublic javax.management.MBeanServer getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<javax.management.MBeanServer>public java.lang.Class<? extends javax.management.MBeanServer> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<javax.management.MBeanServer>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<javax.management.MBeanServer>