|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.adl.FactoryFactory
Provides static methods to get a Factory
component.
Field Summary | |
static String |
FRACTAL_BACKEND
|
static String |
JAVA_BACKEND
|
static String |
STATIC_FRACTAL_BACKEND
|
static String |
STATIC_JAVA_BACKEND
|
Constructor Summary | |
FactoryFactory()
|
Method Summary | |
static Factory |
getFactory()
Returns a bootstrap Factory , with a Java backend. |
static Factory |
getFactory(String backend)
Returns a Factory with the given backend. |
static Factory |
getFactory(String backend,
Map context)
Returns a Factory with the given backend. |
static Factory |
getFactory(String factory,
String backend,
Map context)
Returns a Factory with the given implementation and backend. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String FRACTAL_BACKEND
public static final String STATIC_FRACTAL_BACKEND
public static final String JAVA_BACKEND
public static final String STATIC_JAVA_BACKEND
Constructor Detail |
public FactoryFactory()
Method Detail |
public static Factory getFactory()
Factory
, with a Java backend.
public static Factory getFactory(String backend) throws ADLException
Factory
with the given backend.
backend
- the desired backend.
Factory
with the given backend.
ADLException
- if the factory cannot be created.public static Factory getFactory(String backend, Map context) throws ADLException
Factory
with the given backend.
backend
- the desired backend.context
- additional optional information.
Factory
with the given backend.
ADLException
- if the factory cannot be created.public static Factory getFactory(String factory, String backend, Map context) throws ADLException
Factory
with the given implementation and backend.
factory
- the name of the desired factory.backend
- the desired backend.context
- additional optional information.
Factory
with the given backend.
ADLException
- if the factory cannot be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |