|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Minimun on method for ServiceManager. You can implement your own ServiceManager and delegate all calls to the implementation from the ServiceManager. In your own implementation you can (for example) set default properties or you can hide implementations details (capsule).
Method Summary | |
void |
addInterceptor(Interceptor pvInterceptor)
|
java.lang.Object |
createService(java.lang.Class pvServiceInterface)
Create a Proxy-Instance to the Service-Interface for synchronous invocation. |
java.lang.Object |
createService(java.lang.Class pvServiceInterface,
AsynchronousCallback pvAsynchronousCallback,
java.lang.String[] pvMethodFilter,
int pvMaxSizeOfThreads)
Create a Proxy-Object for asynchronous invocation. |
Interceptor |
getInterceptorByPos(int pvPos)
|
int |
getInterceptorSize()
|
Modifier |
getModifier()
|
java.lang.String |
getProperty(java.lang.String pvKey)
|
java.util.Iterator |
getPropertyKeys()
|
boolean |
isInvocationAsynchronous(java.lang.Class pvServiceInterface)
Are calls asynchronous. |
void |
removeAsynchronousCallback(java.lang.Class pvServiceInterface)
Remove asynchronous callback interface. |
Interceptor |
removeInterceptorByPos(int pvPos)
|
void |
setModifier(Modifier pvModifier)
|
Method Detail |
public Interceptor getInterceptorByPos(int pvPos)
public int getInterceptorSize()
public Interceptor removeInterceptorByPos(int pvPos)
public void addInterceptor(Interceptor pvInterceptor)
public Modifier getModifier()
public void setModifier(Modifier pvModifier)
public java.lang.String getProperty(java.lang.String pvKey)
public java.util.Iterator getPropertyKeys()
public java.lang.Object createService(java.lang.Class pvServiceInterface)
pvServiceInterface
- Service-Interface
public java.lang.Object createService(java.lang.Class pvServiceInterface, AsynchronousCallback pvAsynchronousCallback, java.lang.String[] pvMethodFilter, int pvMaxSizeOfThreads)
pvServiceInterface
- For this Interface is created a Proxy-Object.pvAsynchronousCallback
- Hanlder for asynchronous execution.pvMethodFilter
- Only for method-names in this array are asynchronous executionpvMaxSizeOfThreads
- Max size of keeping Threads.
public boolean isInvocationAsynchronous(java.lang.Class pvServiceInterface)
pvServiceInterface
- Test to asynchronous for this service interface.
true
, else false
.public void removeAsynchronousCallback(java.lang.Class pvServiceInterface)
pvServiceInterface
- This is apply to this service interface.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |