|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.aokell.lib.factory.GenericFactoryImpl
public class GenericFactoryImpl
The implementation of the generic factory.
Field Summary | |
---|---|
static String |
GEN_FACT_IMPL
The property name which defines the implementation class for the generic factory. |
Constructor Summary | |
---|---|
GenericFactoryImpl()
|
Method Summary | |
---|---|
protected void |
checkFcContentClassforBC(Type type,
Class contentClass)
Check that the content class implements the BindingController interface if at least one client interface is defined in its type. |
protected void |
checkFcContentClassImplementsServerInterfaces(Type type,
Class contentClass)
Check that the content class implements the server interfaces defined in the type. |
protected void |
checkFcContentDesc(Type type,
Object controllerDesc,
Object contentDesc)
Check that the value given for the content description is legal. |
protected void |
checkFcControllerDesc(Object controllerDesc)
Check that the given value is a legal controller description. |
protected void |
checkFcType(Type type,
Object controllerDesc)
Check that the value given for the type is legal. |
static GenericFactoryImpl |
get()
|
protected Object |
newFcContent(Type type,
Object controllerDesc,
Object contentDesc)
Instantiate the content part of a component. |
Component |
newFcInstance(Type type,
Object controllerDesc,
Object contentDesc)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String GEN_FACT_IMPL
Constructor Detail |
---|
public GenericFactoryImpl()
Method Detail |
---|
public static GenericFactoryImpl get()
public Component newFcInstance(Type type, Object controllerDesc, Object contentDesc) throws InstantiationException
newFcInstance
in interface GenericFactory
InstantiationException
protected Object newFcContent(Type type, Object controllerDesc, Object contentDesc) throws InstantiationException
InstantiationException
protected void checkFcType(Type type, Object controllerDesc) throws InstantiationException
InstantiationException
protected void checkFcControllerDesc(Object controllerDesc) throws InstantiationException
InstantiationException
protected void checkFcContentDesc(Type type, Object controllerDesc, Object contentDesc) throws InstantiationException
InstantiationException
protected void checkFcContentClassImplementsServerInterfaces(Type type, Class contentClass) throws InstantiationException
InstantiationException
protected void checkFcContentClassforBC(Type type, Class contentClass) throws InstantiationException
InstantiationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |