org.mentawai.ioc
Class ActionComponent

java.lang.Object
  extended by org.mentawai.ioc.ActionComponent
All Implemented Interfaces:
Component
Direct Known Subclasses:
ApplicationComponent, LocaleComponent, SessionComponent

public abstract class ActionComponent
extends java.lang.Object
implements Component


Constructor Summary
ActionComponent()
           
 
Method Summary
protected  Action getAction()
           
 java.lang.Object getInstance()
          Returns an instance of the class this component represents.
abstract  java.lang.Object getInstance(java.lang.String key, Action action)
           
protected  java.lang.String getKey()
           
 void setAction(Action a)
           
 void setKey(java.lang.String k)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionComponent

public ActionComponent()
Method Detail

setAction

public void setAction(Action a)

setKey

public void setKey(java.lang.String k)

getAction

protected Action getAction()

getKey

protected java.lang.String getKey()

getInstance

public java.lang.Object getInstance()
                             throws java.lang.InstantiationException
Description copied from interface: Component
Returns an instance of the class this component represents.

Specified by:
getInstance in interface Component
Returns:
An instance of the class this component represents.
Throws:
java.lang.InstantiationException - if for any reason the instance cannot be created.

getInstance

public abstract java.lang.Object getInstance(java.lang.String key,
                                             Action action)


Copyright © 2005 Mentawai Team. All Rights Reserved.