public abstract class AbstractInstanceResolver<T> extends InstanceResolver<T>
InstanceResolver
with
convenience methods to do the resource injection.Constructor and Description |
---|
AbstractInstanceResolver() |
Modifier and Type | Method and Description |
---|---|
protected Method |
findAnnotatedMethod(Class clazz,
Class<? extends Annotation> annType)
Finds the method that has the given annotation, while making sure that
there's only at most one such method.
|
protected static ResourceInjector |
getResourceInjector(WSEndpoint endpoint) |
protected static void |
invokeMethod(Method method,
Object instance,
Object... args)
Helper for invoking a method with elevated privilege.
|
createDefault, createDefault, createFromInstanceResolverAnnotation, createInvoker, createNewInstance, createSingleton, dispose, postInvoke, resolve, start, start
protected static ResourceInjector getResourceInjector(WSEndpoint endpoint)
protected static void invokeMethod(@Nullable Method method, Object instance, Object... args)
@Nullable protected final Method findAnnotatedMethod(Class clazz, Class<? extends Annotation> annType)
Copyright © 2015 Oracle Corporation. All rights reserved.