|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.StaticObjectProvider<S>
public class StaticObjectProvider<S>
Provides a single object of a given type.
| Constructor Summary | |
|---|---|
StaticObjectProvider(java.lang.Class<S> valueType,
S value)
|
|
| Method Summary | ||
|---|---|---|
|
provide(java.lang.Class<T> objectType,
AnnotationProvider annotationProvider,
ObjectLocator locator)
Provides an object based on an expression. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticObjectProvider(java.lang.Class<S> valueType,
S value)
| Method Detail |
|---|
public <T> T provide(java.lang.Class<T> objectType,
AnnotationProvider annotationProvider,
ObjectLocator locator)
ObjectProvider
provide in interface ObjectProviderobjectType - the expected object typeannotationProvider - provides access to annotations (typically, the field or parameter to which an
injection-related annotation is attached); annotations on the field or parameter may
also be used when resolving the desired objectlocator - locator for the context in which the provider is being used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||