org.apache.tapestry5.internal.services
Class AbstractInstantiator

java.lang.Object
  extended by org.apache.tapestry5.internal.services.AbstractInstantiator
All Implemented Interfaces:
Instantiator

public abstract class AbstractInstantiator
extends Object
implements Instantiator

Abstract base class for instantiators; for each component, a new subclass is created at runtime.


Field Summary
protected  Object[] constructorArgs
           
 
Constructor Summary
AbstractInstantiator(ComponentModel model, String description, Object[] constructorArgs)
           
 
Method Summary
 ComponentModel getModel()
          Returns the model that defines the behavior of the component.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry5.internal.services.Instantiator
newInstance
 

Field Detail

constructorArgs

protected final Object[] constructorArgs
Constructor Detail

AbstractInstantiator

public AbstractInstantiator(ComponentModel model,
                            String description,
                            Object[] constructorArgs)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getModel

public ComponentModel getModel()
Description copied from interface: Instantiator
Returns the model that defines the behavior of the component.

Specified by:
getModel in interface Instantiator


Copyright © 2003-2012 The Apache Software Foundation.