| net.sf.crispy.IServiceManager
All known Subclasses: net.sf.crispy.impl.ServiceManager,
IServiceManager | public interface IServiceManager (Code) | | 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).
author: Linke |
createService | abstract public Object createService(Class pvServiceInterface)(Code) | | Create a Proxy-Instance to the Service-Interface for synchronous invocation.
Parameters: pvServiceInterface - Service-Interface Proxy-Object. |
createService | abstract public Object createService(Class pvServiceInterface, AsynchronousCallback pvAsynchronousCallback, String[] pvMethodFilter, int pvMaxSizeOfThreads)(Code) | | Create a Proxy-Object for asynchronous invocation.
Parameters: pvServiceInterface - For this Interface is created a Proxy-Object. Parameters: pvAsynchronousCallback - Hanlder for asynchronous execution. Parameters: pvMethodFilter - Only for method-names in this array are asynchronous execution Parameters: pvMaxSizeOfThreads - Max size of keeping Threads. Proxy-Object. |
getInterceptorSize | public int getInterceptorSize()(Code) | | |
isInvocationAsynchronous | public boolean isInvocationAsynchronous(Class pvServiceInterface)(Code) | | Are calls asynchronous.
Parameters: pvServiceInterface - Test to asynchronous for this service interface. If asynchronous, than true , else false . |
removeAsynchronousCallback | public void removeAsynchronousCallback(Class pvServiceInterface)(Code) | | Remove asynchronous callback interface. All execution are synchronous.
Parameters: pvServiceInterface - This is apply to this service interface. |
|
|