org.objectweb.fractal.adl
Class FactoryFactory
public class FactoryFactory
Provides static methods to get a
Factory component.
FRACTAL_BACKEND
public static final String FRACTAL_BACKEND
JAVA_BACKEND
public static final String JAVA_BACKEND
STATIC_FRACTAL_BACKEND
public static final String STATIC_FRACTAL_BACKEND
STATIC_JAVA_BACKEND
public static final String STATIC_JAVA_BACKEND
getFactory
public static Factory getFactory()
Returns a bootstrap
Factory, with a Java backend.
- a bootstrap factory.
getFactory
public static Factory getFactory(String backend)
throws ADLException Returns a
Factory with the given backend.
backend - the desired backend.
- a
Factory with the given backend.
ADLException - if the factory cannot be created.
getFactory
public static Factory getFactory(String backend,
Map context)
throws ADLException Returns a
Factory with the given backend.
backend - the desired backend.context - additional optional information.
- a
Factory with the given backend.
ADLException - if the factory cannot be created.
getFactory
public static Factory getFactory(String factory,
String backend,
Map context)
throws ADLException Returns a
Factory with the given implementation and backend.
factory - the name of the desired factory.backend - the desired backend.context - additional optional information.
- a
Factory with the given backend.
ADLException - if the factory cannot be created.