|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.fractal.util.Fractal
public class Fractal
Provides static methods to access standard interfaces of Fractal components.
Method Summary | |
---|---|
static AttributeController |
getAttributeController(Component component)
Returns the AttributeController interface of the given component. |
static BindingController |
getBindingController(Component component)
Returns the BindingController interface of the given component. |
static Component |
getBootstrapComponent()
Returns a bootstrap component to create other components. |
static Component |
getBootstrapComponent(java.util.Map hints)
Returns a bootstrap component to create other components. |
static ContentController |
getContentController(Component component)
Returns the ContentController interface of the given component. |
static Factory |
getFactory(Component component)
Returns the Factory interface of the given component. |
static GenericFactory |
getGenericFactory(Component component)
Returns the GenericFactory interface of the given component. |
static LifeCycleController |
getLifeCycleController(Component component)
Returns the LifeCycleController interface of the given component. |
static NameController |
getNameController(Component component)
Returns the NameController interface of the given component. |
static SuperController |
getSuperController(Component component)
Returns the SuperController interface of the given component. |
static TypeFactory |
getTypeFactory(Component component)
Returns the TypeFactory interface of the given component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Component getBootstrapComponent() throws InstantiationException
InstantiationException
- if the bootstrap component cannot be
created.public static Component getBootstrapComponent(java.util.Map hints) throws InstantiationException
Factory
or
GenericFactory
interface, and returns the component instantiated by
this factory.
hints
- a map which must associate a value to the "fractal.provider"
key, and which may associate a ClassLoader to the "classloader" key.
This class loader will be used to load the bootstrap component.
InstantiationException
- if the bootstrap component cannot be
created.public static AttributeController getAttributeController(Component component) throws NoSuchInterfaceException
AttributeController
interface of the given component.
component
- a component.
AttributeController
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.public static BindingController getBindingController(Component component) throws NoSuchInterfaceException
BindingController
interface of the given component.
component
- a component.
BindingController
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.public static ContentController getContentController(Component component) throws NoSuchInterfaceException
ContentController
interface of the given component.
component
- a component.
ContentController
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.public static SuperController getSuperController(Component component) throws NoSuchInterfaceException
SuperController
interface of the given component.
component
- a component.
SuperController
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.public static NameController getNameController(Component component) throws NoSuchInterfaceException
NameController
interface of the given component.
component
- a component.
NameController
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.public static LifeCycleController getLifeCycleController(Component component) throws NoSuchInterfaceException
LifeCycleController
interface of the given component.
component
- a component.
LifeCycleController
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.public static Factory getFactory(Component component) throws NoSuchInterfaceException
Factory
interface of the given component.
component
- a component.
Factory
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.public static GenericFactory getGenericFactory(Component component) throws NoSuchInterfaceException
GenericFactory
interface of the given component.
component
- a component.
GenericFactory
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.public static TypeFactory getTypeFactory(Component component) throws NoSuchInterfaceException
TypeFactory
interface of the given component.
component
- a component.
TypeFactory
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |