org.mmbase.applications.vprowizards.spring
Class BasicCommand.MyFactory
java.lang.Object
org.mmbase.applications.vprowizards.spring.BasicCommand.MyFactory
- All Implemented Interfaces:
- org.apache.commons.collections15.Factory<Action>
- Enclosing class:
- BasicCommand
public static final class BasicCommand.MyFactory
- extends Object
- implements org.apache.commons.collections15.Factory<Action>
We have to wrap the Instationation Factory, becouse the LazyMap expects a factory of generic type Action, but
the instantiation factory has no differentiation between the type it instantiates and the type it returns. So
We create an implicit cast here (bit silly).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicCommand.MyFactory
public BasicCommand.MyFactory(Class<? extends Action> actualActionClass)
create
public Action create()
- Specified by:
create in interface org.apache.commons.collections15.Factory<Action>
MMBase 2.0-SNAPSHOT - null