|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.application.runtime.impl.CompositeServiceInvocationInterceptor
public class CompositeServiceInvocationInterceptor
The composite (or application) service invocation handler is responsible for service calls on composite services. These service calls are directed towards a service implementation of a contained component type. It has to lookup or search for a fitting
| Field Summary | |
|---|---|
protected IComponentIdentifier |
cid
The static component id (if any). |
protected String |
componenttype
The component type. |
protected Future |
creating
A future of a component currently being created (if any). |
protected IApplicationExternalAccess |
ea
The external access. |
| Constructor Summary | |
|---|---|
CompositeServiceInvocationInterceptor(IApplicationExternalAccess ea,
String componenttype,
Class servicetype,
IComponentIdentifier cid)
Create a new invocation handler. |
|
| Method Summary | |
|---|---|
static IInternalService |
createServiceProxy(Class servicetype,
String componenttype,
IApplicationExternalAccess ea,
ClassLoader classloader,
IComponentIdentifier cid)
Create a new composite (application) service proxy. |
void |
execute(ServiceInvocationContext sic)
Execute the command. |
String |
getComponentType()
Get the componenttype. |
IApplicationExternalAccess |
getExternalAccess()
Get the ea. |
static MultiCollection |
getInterceptors()
Get the standard interceptors for composite service proxies; |
protected void |
invokeServiceMethod(IInternalAccess ia,
IComponentIdentifier cid,
ServiceInvocationContext sic,
Future ret)
Invoke the service method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IApplicationExternalAccess ea
protected String componenttype
protected IComponentIdentifier cid
protected Future creating
| Constructor Detail |
|---|
public CompositeServiceInvocationInterceptor(IApplicationExternalAccess ea,
String componenttype,
Class servicetype,
IComponentIdentifier cid)
| Method Detail |
|---|
public void execute(ServiceInvocationContext sic)
execute in interface IServiceInvocationInterceptorargs - The argument(s) for the call.
protected void invokeServiceMethod(IInternalAccess ia,
IComponentIdentifier cid,
ServiceInvocationContext sic,
Future ret)
public IApplicationExternalAccess getExternalAccess()
public String getComponentType()
public static MultiCollection getInterceptors()
public static IInternalService createServiceProxy(Class servicetype,
String componenttype,
IApplicationExternalAccess ea,
ClassLoader classloader,
IComponentIdentifier cid)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||