|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.api.client.ServiceInterceptorFactory
public abstract class ServiceInterceptorFactory
Creates ServiceInterceptor
.
Code that wishes to inject ServiceInterceptor
into WSService
must implement this class. There are two ways to have the JAX-WS RI
recognize your ServiceInterceptor
s.
ServiceFinder
ServiceInterceptorFactory
s discovered via ServiceFinder
will be incorporated to all WSService
instances.
ServiceInterceptor
,
EA3
Constructor Summary | |
---|---|
ServiceInterceptorFactory()
|
Method Summary | |
---|---|
abstract ServiceInterceptor |
create(WSService service)
|
static ServiceInterceptor |
load(WSService service,
ClassLoader cl)
Loads all ServiceInterceptor s and return aggregated one. |
static boolean |
registerForThread(ServiceInterceptorFactory factory)
Registers ServiceInterceptorFactory for this thread. |
static boolean |
unregisterForThread(ServiceInterceptorFactory factory)
Removes previously registered ServiceInterceptorFactory for this thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceInterceptorFactory()
Method Detail |
---|
public abstract ServiceInterceptor create(@NotNull WSService service)
@NotNull public static ServiceInterceptor load(@NotNull WSService service, @Nullable ClassLoader cl)
ServiceInterceptor
s and return aggregated one.
public static boolean registerForThread(ServiceInterceptorFactory factory)
ServiceInterceptorFactory
for this thread.
Once registered, ServiceInterceptorFactory
s are consulted for every
Service
created in this thread, until it gets unregistered.
public static boolean unregisterForThread(ServiceInterceptorFactory factory)
ServiceInterceptorFactory
for this thread.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |