|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--feynman.framework.system.PhysicalSystemFactory
Factory to create differenct types of PhysicalSystems.
| Method Summary | |
static PhysicalSystem |
create(Simulation simulation)
Note: This method is used by the feynman.framework.Controller. |
static PhysicalSystemFactory |
getInstance()
Method used to retrieve an instance of the factory class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final PhysicalSystemFactory getInstance()
public static PhysicalSystem create(Simulation simulation)
throws PhysicalSystemFactoryException
Simulation simulation = Marshaller.unmarshall("MyProps.properties");
PhysicalSystemFactory sf = PhysicalSystemFactory.getInstance();
PhysicalSystem ps = sf.create(simulation);
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||