|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is a contract for a concreate class that actually creates the service bean and a proxy bean. This interface allows an assembly factory to delegate the responsibility of object creation to a generic builder, for example a builder could be an Aspect Oriented or Chain of Responsibility Interception module.
| Method Summary | |
java.lang.Object |
newProxyInstance(IServiceAssembler serviceAssembler,
ServiceConfig serviceConfig,
java.lang.Class[] interfaceClassList,
java.lang.Class clazz)
Creates an enhanced proxy instance of the said service bean class |
java.lang.Object |
newProxyInstance(IServiceAssembler serviceAssembler,
ServiceConfig serviceConfig,
java.lang.Class[] interfaceClassList,
java.lang.Class clazz,
java.lang.Object[] args,
java.lang.Class[] argTypes)
Creates an proxy instance of the said service bean class |
| Method Detail |
public java.lang.Object newProxyInstance(IServiceAssembler serviceAssembler,
ServiceConfig serviceConfig,
java.lang.Class[] interfaceClassList,
java.lang.Class clazz,
java.lang.Object[] args,
java.lang.Class[] argTypes)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException,
java.lang.NoSuchMethodException
serviceAssembler - the service assembler which requires the new
proxy objectserviceConfig - the service configurationinterfaceClassList - the required classes that the proxy bean must implementclazz - the service bean classargs - the argument listargTypes - the Java types that make up the individual elements in the argument list
java.lang.ClassNotFoundException - if the class cannot be found
java.lang.IllegalAccessException - if the access to the class and/or proxy are illegal in Java
java.lang.reflect.InvocationTargetException - if there is problem actually invoking a constructor or method
java.lang.InstantiationException - if the bean cannot be created
java.lang.NoSuchMethodException - if the class method or constructor does not exist
public java.lang.Object newProxyInstance(IServiceAssembler serviceAssembler,
ServiceConfig serviceConfig,
java.lang.Class[] interfaceClassList,
java.lang.Class clazz)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException,
java.lang.NoSuchMethodException
serviceAssembler - the service assembler which requires the new
proxy objectserviceConfig - the service configurationinterfaceClassList - the required classes that the proxy bean must implementclazz - the service bean class
java.lang.ClassNotFoundException - if the class cannot be found
java.lang.IllegalAccessException - if the access to the class and/or proxy are illegal in Java
java.lang.reflect.InvocationTargetException - if there is problem actually invoking a constructor or method
java.lang.InstantiationException - if the bean cannot be created
java.lang.NoSuchMethodException - if the class method or constructor does not exist
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||