All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.impl.agent.services.light.MetaDataSrv

java.lang.Object
   |
   +----com.sun.jaw.impl.agent.services.light.MetaDataSrv

public class MetaDataSrv
extends Object
implements MetaDataSrvIf
This class provides a simple implementation of a metadata service. The metadata service will be registered within the Core Management Framework as a managed object. As such, the metadata service can be removed or replaced withi another metadata service. The implementation can be dynamically loaded into the CMF.

See Also:
MetaDataSrvIf

Constructor Index

 o MetaDataSrv()

Method Index

 o findConstructor(Class, Class[])
Find a specific constructor of a class
 o findGetter(Class, String)
Find the getter of a specific property in an object.
 o findIndexedGetter(Class, String)
Find the getter of a specific property in an object.
 o findIndexedSetter(Class, String)
Finds the setter of a specific indexed property without knowing its type.
 o findIndexedSetter(Class, String, Class)
Find the setter of a specific indexed property in an object.
 o findListOfActions(Class, boolean)
Finds the list of actions available in a specific class.
 o findListOfProperties(Class, boolean)
Finds the list of properties available in a specific class.
 o findMethod(Class, String)
Find a specific method of an object without knowing the parameter types.
 o findMethod(Class, String, Class[])
Find a specific method of an object
 o findPerform(Class, String, Class[])
Find a specify perform method from the method name
 o findSetter(Class, String)
Find the setter of a specific property without knowing its type.
 o findSetter(Class, String, Class)
Find the setter of a specific property in an object.
 o getClassVersion()
Returns the version of this class.

Constructors

 o MetaDataSrv
 public MetaDataSrv()

Methods

 o findListOfProperties
 public String[] findListOfProperties(Class targetClass,
                                      boolean flat)
Finds the list of properties available in a specific class. When flat is false inherited properties are not returned.

 o findListOfActions
 public String[] findListOfActions(Class targetClass,
                                   boolean flat)
Finds the list of actions available in a specific class. When flat is false inherited actions are not returned.

 o findMethod
 public Method findMethod(Class classObj,
                          String name,
                          Class parameterTypes[])
Find a specific method of an object

Parameters:
object - object for which the method is requested
name - name of the method to retrieve
parameterTypes - method formal parameter types
Returns:
the method or null if not found
 o findMethod
 public Method findMethod(Class classObj,
                          String name)
Find a specific method of an object without knowing the parameter types. The first method whose name matches is returned.

Parameters:
object - object for which the method is requested
name - name of the method to retrieve
Returns:
the method or null if not found
 o findGetter
 public Method findGetter(Class classObj,
                          String property)
Find the getter of a specific property in an object.

Parameters:
object - object for which a getter is requested
property - property to look for in the object
Returns:
the method for accessing the property, null otherwise
 o findIndexedGetter
 public Method findIndexedGetter(Class classObj,
                                 String property)
Find the getter of a specific property in an object.

Parameters:
object - object for which a getter is requested
property - property to look for in the object
Returns:
the method for accessing the property, null otherwise
 o findSetter
 public Method findSetter(Class classObj,
                          String property,
                          Class type)
Find the setter of a specific property in an object.

Parameters:
object - object for which a getter is requested
property - property to look for in the object
type - type of the property
Returns:
the method for accessing the property, null otherwise
 o findSetter
 public Method findSetter(Class classObj,
                          String property)
Find the setter of a specific property without knowing its type.

Parameters:
object - object for which a getter is requested
property - property to look for in the object
Returns:
the method for accessing the property, null otherwise
 o findIndexedSetter
 public Method findIndexedSetter(Class classObj,
                                 String property,
                                 Class type)
Find the setter of a specific indexed property in an object.

Parameters:
object - object for which a getter is requested
property - property to look for in the object
type - type of the property
Returns:
the method for accessing the property, null otherwise
 o findIndexedSetter
 public Method findIndexedSetter(Class classObj,
                                 String property)
Finds the setter of a specific indexed property without knowing its type.

Parameters:
object - object for which a getter is requested
property - property to look for in the object
Returns:
the method for accessing the property, null otherwise
 o findConstructor
 public Constructor findConstructor(Class theClass,
                                    Class parameterTypes[])
Find a specific constructor of a class

Parameters:
name - name of the method to retrieve
parameterTypes - method formal parameter types
Returns:
the requested constructor or null if not found
 o findPerform
 public Method findPerform(Class classObj,
                           String name,
                           Class parametersType[])
Find a specify perform method from the method name

Parameters:
object - object for which the method is requested
name - name of the method to retreive
parameterType - method formal parameter type
 o getClassVersion
 public String getClassVersion()
Returns the version of this class.


All Packages  Class Hierarchy  This Package  Previous  Next  Index