|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.parser.PojoMetadata
public class PojoMetadata
Manipulation Metadata allows getting information about the implementation class without doing reflection.
Constructor Summary | |
---|---|
PojoMetadata(org.apache.felix.ipojo.metadata.Element metadata)
Constructor. |
Method Summary | |
---|---|
FieldMetadata |
getField(java.lang.String name)
Get the field metadata for the given name. |
FieldMetadata |
getField(java.lang.String name,
java.lang.String type)
Get the field metadata for the given name and type. |
FieldMetadata[] |
getFields()
|
java.lang.String[] |
getInterfaces()
|
MethodMetadata |
getMethod(java.lang.String name)
Get the MethodMetadata corresponding to the method (contained in the implementation class) to given name. |
MethodMetadata |
getMethod(java.lang.String name,
java.lang.String[] types)
Get the MethodMetadata corresponding to the method (contained in the implementation class) to given name and argument types. |
MethodMetadata[] |
getMethods()
|
MethodMetadata[] |
getMethods(java.lang.String name)
Get the MethodMetadata list corresponding to the method (contained in the implementation class) to given name. |
java.lang.String |
getSuperClass()
|
boolean |
isInterfaceImplemented(java.lang.String itf)
Check if the given interface name is implemented. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PojoMetadata(org.apache.felix.ipojo.metadata.Element metadata)
metadata
- : component type metadataMethod Detail |
---|
public MethodMetadata[] getMethods()
public FieldMetadata[] getFields()
public java.lang.String[] getInterfaces()
public FieldMetadata getField(java.lang.String name)
name
- : name of the field
public FieldMetadata getField(java.lang.String name, java.lang.String type)
name
- : name of the fieldtype
- : type of the field
public boolean isInterfaceImplemented(java.lang.String itf)
itf
- : interface to check.
public MethodMetadata getMethod(java.lang.String name)
name
- : name of the method to look for.
public MethodMetadata[] getMethods(java.lang.String name)
name
- : name of the method to look for.
public MethodMetadata getMethod(java.lang.String name, java.lang.String[] types)
name
- : name of the method to look for.types
- : array of the argument types of the method
public java.lang.String getSuperClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |