|
Restlet Framework 2.2.2 OSGi Environments |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FinderFactory
Factory for dependency-injecting Finders.
Method Summary | |
---|---|
Finder |
finder(Class<?> cls)
Returns a Finder that will obtain a dependency-injected instance
of the ServerResource subtype bound to the type associated with the given
class. |
Finder |
finder(Class<?> cls,
Class<? extends Annotation> qualifier)
Returns a Finder that will obtain a dependency-injected instance
of the ServerResource subtype bound to the type and qualifier associated
with the given class. |
Method Detail |
---|
Finder finder(Class<?> cls)
Finder
that will obtain a dependency-injected instance
of the ServerResource subtype bound to the type associated with the given
class.
cls
- The class to instantiate.
Finder
.
com.google.inject.ProvisionException
- if cls
is not bound to ServerResource
or a
subclass.Finder finder(Class<?> cls, Class<? extends Annotation> qualifier)
Finder
that will obtain a dependency-injected instance
of the ServerResource subtype bound to the type and qualifier associated
with the given class.
cls
- The class to instantiate.qualifier
- The qualifier associated with the given class.
Finder
.
com.google.inject.ProvisionException
- if cls
qualified by qualifier
is not bound to
ServerResource
or a subclass.
|
Restlet Framework 2.2.2 OSGi Environments |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |