org.mentawai.ioc
Class ActionComponent

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

public abstract class ActionComponent
extends Object
implements Bean


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

Constructor Detail

ActionComponent

public ActionComponent()
Method Detail

setAction

public void setAction(Action a)

setKey

public void setKey(String k)

removeAll

public void removeAll()

getAction

protected Action getAction()

getKey

protected String getKey()

getBean

public Object getBean()
               throws InstantiationException
Description copied from interface: Bean
Returns an instance of the class this component represents.

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

getInstance

public abstract Object getInstance(String key,
                                   Action action)


Copyright © 2013. All Rights Reserved.