All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.jaw.reference.agent.services.MetaDataSrvIf

public interface MetaDataSrvIf
extends Serializable
This interface provides access to a metadata service.


Method Index

 o findConstructor(Class, Class[])
Finds a specific constructor of a class.
 o findGetter(Class, String)
Finds the getter of a specific property in an object.
 o findIndexedGetter(Class, String)
Finds the getter of a specific indexed 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)
Finds 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)
Finds a specific method of an object without knowing the parameter types.
 o findMethod(Class, String, Class[])
Finds a specific method of an object using the method name.
 o findPerform(Class, String, Class[])
Finds a specific perform method from the method name.
 o findSetter(Class, String)
Finds the setter of a specific property without knowing its type.
 o findSetter(Class, String, Class)
Finds the setter of a specific property in an object.

Methods

 o findListOfProperties
 public abstract 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 abstract 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 findGetter
 public abstract Method findGetter(Class classObj,
                                   String property)
Finds 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 abstract Method findIndexedGetter(Class classObj,
                                          String property)
Finds the getter 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.
Returns:
The method for accessing the property, null otherwise.
 o findSetter
 public abstract Method findSetter(Class classObj,
                                   String property,
                                   Class type)
Finds the setter of a specific property in an object.

Parameters:
object - Object for which a setter is requested.
property - Property to look for in the object.
type - Type of the property.
Returns:
The method for setting the property, null otherwise.
 o findSetter
 public abstract Method findSetter(Class classObj,
                                   String property)
Finds the setter of a specific property without knowing its type.

Parameters:
object - Object for which a setter is requested.
property - Property to look for in the object.
Returns:
The method for setting the property, null otherwise.
 o findIndexedSetter
 public abstract Method findIndexedSetter(Class classObj,
                                          String property,
                                          Class type)
Finds the setter of a specific indexed property in an object.

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

Parameters:
object - Object for which a setter is requested.
property - Property to look for in the object.
Returns:
The method for setting the property, null otherwise.
 o findMethod
 public abstract Method findMethod(Class classObj,
                                   String name,
                                   Class parameterTypes[])
Finds a specific method of an object using the method name.

Parameters:
object - Object for which the method is requested.
name - Name of the method to be retrieved.
parameterTypes - Method formal parameter types.
Returns:
The requested method or null if not found.
 o findMethod
 public abstract Method findMethod(Class classObj,
                                   String name)
Finds a specific method of an object without knowing the parameter types.

Parameters:
object - Object for which the method is requested.
name - Name of the method to be retrieved.
Returns:
The requested method or null if not found.
 o findConstructor
 public abstract Constructor findConstructor(Class theClass,
                                             Class parameterTypes[])
Finds a specific constructor of a class.

Parameters:
name - Name of the method to be retrieved.
parameterTypes - Method formal parameter types.
Returns:
The requested constructor or null if not found.
 o findPerform
 public abstract Method findPerform(Class classObj,
                                    String name,
                                    Class parametersTypes[])
Finds a specific perform method from the method name.

Parameters:
object - Object for which the method is requested.
name - Name of the method to be retrieved.
parameterType - Method formal parameter type.

All Packages  Class Hierarchy  This Package  Previous  Next  Index