org.apache.commons.clazz.bean
Class BeanClazzInstanceFactory

java.lang.Object
  extended by org.apache.commons.clazz.common.ClazzElementSupport
      extended by org.apache.commons.clazz.common.ClazzFeatureSupport
          extended by org.apache.commons.clazz.bean.BeanClazzInstanceFactory
All Implemented Interfaces:
ClazzElement, ClazzFeature, ClazzInstanceFactory

public abstract class BeanClazzInstanceFactory
extends ClazzFeatureSupport
implements ClazzInstanceFactory

Version:
$Id: BeanClazzInstanceFactory.java 155436 2005-02-26 13:17:48Z dirkv $
Author:
Dmitri Plotnikov

Constructor Summary
BeanClazzInstanceFactory(Clazz declaringClazz, String[] parameterClazzNames)
           
BeanClazzInstanceFactory(Clazz declaringClazz, String name, String[] parameterClazzNames)
          Constructor for BeanClazzInstanceFactory.
 
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.
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.clazz.ClazzInstanceFactory
newInstance
 
Methods inherited from interface org.apache.commons.clazz.ClazzFeature
getDeclaringClazz
 
Methods inherited from interface org.apache.commons.clazz.ClazzElement
getAttribute, getAttributes
 

Constructor Detail

BeanClazzInstanceFactory

public BeanClazzInstanceFactory(Clazz declaringClazz,
                                String[] parameterClazzNames)

BeanClazzInstanceFactory

public BeanClazzInstanceFactory(Clazz declaringClazz,
                                String name,
                                String[] parameterClazzNames)
Constructor for BeanClazzInstanceFactory.

Parameters:
declaringClazz -
Method Detail

getName

public String getName()
Description copied from interface: ClazzInstanceFactory
Returns the name of the factory. May be null.

Specified by:
getName in interface ClazzInstanceFactory
See Also:
ClazzInstanceFactory.getName()

getParameterClazzes

public Clazz[] getParameterClazzes()
Description copied from interface: ClazzInstanceFactory
Returns the factory parameter types.

Specified by:
getParameterClazzes in interface ClazzInstanceFactory
See Also:
ClazzInstanceFactory.getParameterClazzes()

getSignature

public String getSignature()
Description copied from interface: ClazzInstanceFactory
Returns the signature of the factory in the format "factoryName(paramType1,...)", where "factoryName" may be empty.

Specified by:
getSignature in interface ClazzInstanceFactory
See Also:
ClazzInstanceFactory.getSignature()


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.