|
|||||||||||
| 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.common.ClazzFeatureSupport
org.apache.commons.clazz.bean.BeanClazzConstructorInstanceFactory
An instance factory based on a Constructor. The first argument of the
Constructor is always of type Clazz. This parameter is not
included in the factory signature.
| Constructor Summary | |
BeanClazzConstructorInstanceFactory(org.apache.commons.clazz.Clazz declaringClazz,
Constructor constructor)
Constructor for ReflectedClazzProperty. |
|
| Method Summary | |
Constructor |
getConstructor()
|
String |
getName()
Returns the name of the factory. |
org.apache.commons.clazz.Clazz[] |
getParameterClazzes()
Returns the factory parameter types. |
String |
getSignature()
Returns the signature of the factory in the format "factoryName(paramType1,...)", where "factoryName" may be empty. |
Object |
newInstance(Object[] parameters)
Creates a new instance. |
String |
toString()
|
| Methods inherited from class org.apache.commons.clazz.common.ClazzFeatureSupport |
getDeclaringClazz |
| 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, wait, wait, wait |
| Methods inherited from interface org.apache.commons.clazz.ClazzFeature |
getDeclaringClazz |
| Methods inherited from interface org.apache.commons.clazz.ClazzElement |
getAttribute, getAttributes |
| Constructor Detail |
public BeanClazzConstructorInstanceFactory(org.apache.commons.clazz.Clazz declaringClazz,
Constructor constructor)
| Method Detail |
public Constructor getConstructor()
public String getName()
org.apache.commons.clazz.ClazzInstanceFactory
getName in interface org.apache.commons.clazz.ClazzInstanceFactorypublic String getSignature()
org.apache.commons.clazz.ClazzInstanceFactory
getSignature in interface org.apache.commons.clazz.ClazzInstanceFactoryClazzOperation.getSignature()public org.apache.commons.clazz.Clazz[] getParameterClazzes()
org.apache.commons.clazz.ClazzInstanceFactory
getParameterClazzes in interface org.apache.commons.clazz.ClazzInstanceFactoryClazzOperation.getParameterClazzes()public Object newInstance(Object[] parameters)
org.apache.commons.clazz.ClazzInstanceFactory
newInstance in interface org.apache.commons.clazz.ClazzInstanceFactoryparameters - is the list of parameters. It can be null if the
factory takes no parameters.public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||