|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.clazz.common.ClazzElementSupport
org.apache.commons.clazz.Clazz
org.apache.commons.clazz.bean.BeanClazz
Dynamically constructed Clazz. BeanClazzes are created by invoking clazzLoader.defineClazz (name,
clazzClass, instanceClass).
| Field Summary |
| Fields inherited from class org.apache.commons.clazz.Clazz |
EXTENDED_CLAZZ_MODEL, STANDARD_CLAZZ_MODEL |
| Constructor Summary | |
BeanClazz(org.apache.commons.clazz.ClazzLoader loader,
String name,
Class instanceClass)
Constructor for BeanClazz. |
|
| Method Summary | |
void |
addDeclaredOperation(org.apache.commons.clazz.ClazzOperation operation)
|
void |
addDeclaredProperty(org.apache.commons.clazz.ClazzProperty property)
|
void |
addInstanceFactory(org.apache.commons.clazz.ClazzInstanceFactory factory)
|
protected void |
addOperation(org.apache.commons.clazz.ClazzOperation operation)
Called indirectly when declared operations are manipulated. |
protected void |
addProperty(org.apache.commons.clazz.ClazzProperty property)
Called indirectly when declared properties are manipulated. |
List |
getDeclaredOperations()
Returns all Operations declared by this clazz, not its superclazzes. |
List |
getDeclaredProperties()
Returns properties declared by this Clazz, not its superclazzes |
Class |
getInstanceClass()
Returns the class of instances created by the newInstance()
method. |
List |
getInstanceFactories()
Returns all InstanceFactories for this clazz. |
org.apache.commons.clazz.ClazzInstanceFactory |
getInstanceFactory(String signature)
Returns ClazzInstanceFactory for the given signature. |
org.apache.commons.clazz.ClazzOperation |
getOperation(String signature)
Returns the Operation for the given signature. |
List |
getOperations()
Returns all Operations for this clazz. |
List |
getProperties()
Returns all properties for this clazz, including those declared by superclazzes. |
org.apache.commons.clazz.ClazzProperty |
getProperty(String name)
Returns a ClazzProperty for the given name |
org.apache.commons.clazz.Clazz |
getSuperclazz()
Returns the superclazz for this Clazz, or null if there is none. |
protected void |
refreshAllCaches()
|
protected void |
refreshOperationCache()
|
protected void |
refreshPropertyCache()
|
void |
removeDeclaredOperation(org.apache.commons.clazz.ClazzOperation operation)
|
void |
removeDeclaredProperty(org.apache.commons.clazz.ClazzProperty property)
|
void |
removeInstanceFactory(org.apache.commons.clazz.ClazzInstanceFactory factory)
|
protected void |
removeOperation(org.apache.commons.clazz.ClazzOperation operation)
Called indirectly when declared operations are manipulated. |
protected void |
removeProperty(org.apache.commons.clazz.ClazzProperty property)
Called indirectly when declared properties are manipulated. |
void |
setSuperclazz(org.apache.commons.clazz.Clazz clazz)
|
| Methods inherited from class org.apache.commons.clazz.Clazz |
addClazzChangeListener, addClazzLoaderFactory, constructSignature, constructSignature, fireInstanceFactoryAdded, fireInstanceFactoryRemoved, fireOperationAdded, fireOperationRemoved, firePropertyAdded, firePropertyRemoved, getCanonicalClassName, getClazz, getClazz, getClazzLoader, getClazzLoader, getClazzLoaderFactory, getDefaultClazzLoader, getDefaultClazzModel, getName, getPackageName, getShortClassName, isAssignableFrom, newInstance, newInstance, removeClazzChangeListener, setDefaultClazzModel |
| Methods inherited from class org.apache.commons.clazz.common.ClazzElementSupport |
getAttribute, getAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.clazz.ClazzElement |
getAttribute, getAttributes |
| Constructor Detail |
public BeanClazz(org.apache.commons.clazz.ClazzLoader loader,
String name,
Class instanceClass)
loader - name - instanceClass - | Method Detail |
public Class getInstanceClass()
org.apache.commons.clazz.ClazznewInstance()
method.
public org.apache.commons.clazz.Clazz getSuperclazz()
org.apache.commons.clazz.Clazz
Clazz.getSuperclazz()public void setSuperclazz(org.apache.commons.clazz.Clazz clazz)
protected void refreshAllCaches()
protected void refreshPropertyCache()
protected void refreshOperationCache()
public List getDeclaredProperties()
org.apache.commons.clazz.Clazz
Clazz.getDeclaredProperties()public void addDeclaredProperty(org.apache.commons.clazz.ClazzProperty property)
protected void addProperty(org.apache.commons.clazz.ClazzProperty property)
public void removeDeclaredProperty(org.apache.commons.clazz.ClazzProperty property)
protected void removeProperty(org.apache.commons.clazz.ClazzProperty property)
public List getProperties()
org.apache.commons.clazz.Clazz
Clazz.getProperties()public org.apache.commons.clazz.ClazzProperty getProperty(String name)
org.apache.commons.clazz.Clazz
Clazz.getProperty(java.lang.String)public List getDeclaredOperations()
org.apache.commons.clazz.Clazz
Clazz.getDeclaredOperations()public void addDeclaredOperation(org.apache.commons.clazz.ClazzOperation operation)
protected void addOperation(org.apache.commons.clazz.ClazzOperation operation)
public void removeDeclaredOperation(org.apache.commons.clazz.ClazzOperation operation)
protected void removeOperation(org.apache.commons.clazz.ClazzOperation operation)
public List getOperations()
org.apache.commons.clazz.Clazz
Clazz.getOperations()public org.apache.commons.clazz.ClazzOperation getOperation(String signature)
org.apache.commons.clazz.Clazz"name(paramClazzName1,...)"
Clazz.getOperation(java.lang.String)public List getInstanceFactories()
org.apache.commons.clazz.Clazz
Clazz.getInstanceFactories()public org.apache.commons.clazz.ClazzInstanceFactory getInstanceFactory(String signature)
org.apache.commons.clazz.Clazz"(paramClazzName1,...)". You
can pass null in place of "()".
Clazz.getInstanceFactory(java.lang.String)public void addInstanceFactory(org.apache.commons.clazz.ClazzInstanceFactory factory)
public void removeInstanceFactory(org.apache.commons.clazz.ClazzInstanceFactory factory)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||