ch.elca.el4j.services.monitoring.jmx
Interface SpringBeanMBMBean

All Known Implementing Classes:
SpringBeanMB

public interface SpringBeanMBMBean

The interface of the proxy class for all the beans loaded in the ApplicationContext.

Author:
Raphael Boog (RBO), Rashid Waraich (RWA)
File-location:
SpringBeanMBMBean
Last check-in date:
2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884

Method Summary
 ObjectName getApplicationContextMB()
          Returns the object name of the Application Context proxy.
 String getClassName()
          Returns the class name of the referenced bean.
 String[] getConfiguration()
          Returns the configuration parameter as they have been set in the configuration files loaded by the Application Context.
 String[] getInterceptors()
          Returns the interceptor class names of the referenced bean.
 boolean getIsProxied()
          Returns whether the referenced bean is proxied or not.
 boolean getIsSingleton()
          Returns whether the referenced bean is a Singleton or a Prototype.
 String[] getMethods()
           
 String getName()
          Getter method for the name member variable.
 String[] getProperties()
           
 ObjectName[] getRegisteredMBean()
          Returns the corresponding MBeans which are registered at the MBean Server via MBeanExporter.
 String getResourceDescription()
           
 String introspect()
           
 String readProperty(String property)
          Try and read a property from this bean.
 

Method Detail

getName

String getName()
Getter method for the name member variable.

Returns:
Returns the name.

getResourceDescription

String getResourceDescription()
Returns:
The location this bean was defined at.

getConfiguration

String[] getConfiguration()
Returns the configuration parameter as they have been set in the configuration files loaded by the Application Context.

Returns:
Returns the Configuration

getApplicationContextMB

ObjectName getApplicationContextMB()
Returns the object name of the Application Context proxy.

Returns:
Returns the applicationContextMB.

getRegisteredMBean

ObjectName[] getRegisteredMBean()
Returns the corresponding MBeans which are registered at the MBean Server via MBeanExporter.

Returns:
Returns the registered MBeans

getClassName

String getClassName()
Returns the class name of the referenced bean.

Returns:
Returns the className.

getIsSingleton

boolean getIsSingleton()
Returns whether the referenced bean is a Singleton or a Prototype.

Returns:
Returns if the referenced bean is a singleton

getInterceptors

String[] getInterceptors()
Returns the interceptor class names of the referenced bean.

Returns:
Returns the interceptor class names of the referenced bean.

getIsProxied

boolean getIsProxied()
Returns whether the referenced bean is proxied or not.

Returns:
Returns whether the referenced bean is proxied or not.

getMethods

String[] getMethods()
Returns:
Reflection listing of all methods in this class.

getProperties

String[] getProperties()
Returns:
The properties of this bean. If proxied, the target's properties.

introspect

String introspect()
Returns:
Result of spring bean introspection on this bean.

readProperty

String readProperty(String property)
Try and read a property from this bean.

Parameters:
property - The property to read.
Returns:
If successful, the value of the property, otherwise an error message.


Copyright © 2005-2011 ELCA. All Rights Reserved.