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
-
MetaDataSrv()
-
-
findConstructor(Class, Class[])
- Find a specific constructor of a class
-
findGetter(Class, String)
- Find the getter of a specific property in an object.
-
findIndexedGetter(Class, String)
- Find the getter of a specific property in an object.
-
findIndexedSetter(Class, String)
- Finds the setter of a specific indexed property without knowing its type.
-
findIndexedSetter(Class, String, Class)
- Find the setter of a specific indexed property in an object.
-
findListOfActions(Class, boolean)
- Finds the list of actions available in a specific class.
-
findListOfProperties(Class, boolean)
- Finds the list of properties available in a specific class.
-
findMethod(Class, String)
- Find a specific method of an object without knowing the parameter types.
-
findMethod(Class, String, Class[])
- Find a specific method of an object
-
findPerform(Class, String, Class[])
- Find a specify perform method from the method name
-
findSetter(Class, String)
- Find the setter of a specific property without knowing its type.
-
findSetter(Class, String, Class)
- Find the setter of a specific property in an object.
-
getClassVersion()
- Returns the version of this class.
MetaDataSrv
public MetaDataSrv()
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.
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.
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
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
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
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
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
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
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
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
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
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
getClassVersion
public String getClassVersion()
- Returns the version of this class.
All Packages Class Hierarchy This Package Previous Next Index