org.apache.tapestry.enhance
Class ComponentConstructorImpl

java.lang.Object
  extended by org.apache.tapestry.enhance.ComponentConstructorImpl
All Implemented Interfaces:
ComponentConstructor

public class ComponentConstructorImpl
extends Object
implements ComponentConstructor

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ComponentConstructorImpl(Constructor constructor, Object[] parameters, String classFabString, org.apache.hivemind.Location location)
          News instance of this class.
 
Method Summary
 Class getComponentClass()
          Returns the class actually instantiated (which may be an enhanced subclass).
 Object newInstance()
          Requests that a new instance of the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentConstructorImpl

public ComponentConstructorImpl(Constructor constructor,
                                Object[] parameters,
                                String classFabString,
                                org.apache.hivemind.Location location)
News instance of this class.

Parameters:
constructor - the constructor method to invoke
parameters - the parameters to pass to the constructor. These are retained, not copied.
classFabString - a string representing the generated class information, used for exception reporting
location - the location, used for exception reporting
Method Detail

getComponentClass

public Class getComponentClass()
Description copied from interface: ComponentConstructor
Returns the class actually instantiated (which may be an enhanced subclass).

Specified by:
getComponentClass in interface ComponentConstructor

newInstance

public Object newInstance()
Description copied from interface: ComponentConstructor
Requests that a new instance of the component.

Specified by:
newInstance in interface ComponentConstructor


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.