com.sun.jersey.core.impl.provider.xml
Class LazySingletonContextProvider<T>
java.lang.Object
com.sun.jersey.core.impl.provider.xml.LazySingletonContextProvider<T>
- All Implemented Interfaces:
- InjectableProvider<Context,Type>
public abstract class LazySingletonContextProvider<T>
- extends Object
- implements InjectableProvider<Context,Type>
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazySingletonContextProvider
protected LazySingletonContextProvider(Class<T> t)
getScope
public ComponentScope getScope()
- Description copied from interface:
InjectableProvider
- Get the scope of the injectable provider.
- Specified by:
getScope
in interface InjectableProvider<Context,Type>
- Returns:
- the scope.
getInjectable
public Injectable<T> getInjectable(ComponentContext ic,
Context a,
Type c)
- Description copied from interface:
InjectableProvider
- Get an injectable.
- Specified by:
getInjectable
in interface InjectableProvider<Context,Type>
- Parameters:
ic
- the injectable contexta
- the annotation instancec
- the context instance
- Returns:
- an Injectable instance, otherwise null if an instance cannot
be created.
getInstance
protected abstract T getInstance()
Copyright © 2013 Oracle Corporation. All Rights Reserved.