org.nuiton.jaxx.action
Interface ActionProvider<A extends MyAbstractAction>

Type Parameters:
A - type of action boxed
All Known Implementing Classes:
ActionProviderFromProperties

public interface ActionProvider<A extends MyAbstractAction>

Contract to be realized by a provider of Actions.

A provider of actions is based on a certain type of MyAbstractAction (A) with an accessor getBaseClass() and deliver some implementations of such actions indexed by their logical names via the method {#link #getClasses()}.

Author:
chemit
See Also:
MyAbstractAction

Method Summary
 java.lang.Class<A> getBaseClass()
           
 java.util.Map<java.lang.String,java.lang.Class<? extends A>> getClasses()
           
 

Method Detail

getBaseClass

java.lang.Class<A> getBaseClass()
Returns:
the base classe of provided actions

getClasses

java.util.Map<java.lang.String,java.lang.Class<? extends A>> getClasses()
Returns:
the provided actions classes


Copyright © 2008-2010 CodeLutin. All Rights Reserved.