|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClazzInstanceFactory
An object resposible for allocating new instances of a Clazz.
| Method Summary | |
|---|---|
String |
getName()
Returns the name of the factory. |
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. |
| Methods inherited from interface org.apache.commons.clazz.ClazzFeature |
|---|
getDeclaringClazz |
| Methods inherited from interface org.apache.commons.clazz.ClazzElement |
|---|
getAttribute, getAttributes |
| Method Detail |
|---|
Object newInstance(Object[] parameters)
parameters - is the list of parameters. It can be null if the
factory takes no parameters.String getName()
Clazz[] getParameterClazzes()
String getSignature()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||