|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.spieleck.pcs.factory.DefaultFactory | +--de.spieleck.pcs.action.ActionFactory
This object acts as a factory for Actions. It is configurable via the properties file. It wraps a DefaultFactory within a member. /conf/action.properties. This file should be in your classpath.
Field Summary | |
protected java.lang.String |
configFile
|
Constructor Summary | |
ActionFactory()
default constructor for ActionFactory |
Method Summary | |
java.lang.Object |
getNewObject(java.lang.String key)
factory method for creating objects. |
Methods inherited from class de.spieleck.pcs.factory.DefaultFactory |
getConfigFile, getProperties, resetConfig, setConfigFile, setProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String configFile
Constructor Detail |
public ActionFactory() throws ActionException
Method Detail |
public java.lang.Object getNewObject(java.lang.String key) throws FactoryException
getNewObject
in class DefaultFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |