org.apache.tapestry.enhance
Class ComponentConstructorImpl
java.lang.Object
org.apache.tapestry.enhance.ComponentConstructorImpl
- All Implemented Interfaces:
- ComponentConstructor
public class ComponentConstructorImpl
- extends Object
- implements ComponentConstructor
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 invokeparameters
- the parameters to pass to the constructor. These are retained, not copied.classFabString
- a string representing the generated class information, used for exception
reportinglocation
- the location, used for exception reporting
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.