|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.EnvironmentalShadowBuilderImpl
public class EnvironmentalShadowBuilderImpl
Constructor Summary | |
---|---|
EnvironmentalShadowBuilderImpl(PlasticProxyFactory proxyFactory,
Environment environment)
Construct using the default builtin factory, not the component layer version. |
Method Summary | ||
---|---|---|
|
build(java.lang.Class<T> serviceType)
Returns a proxy that delegates all methods to an object obtained from Environment.peekRequired(Class) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnvironmentalShadowBuilderImpl(@Builtin PlasticProxyFactory proxyFactory, Environment environment)
Method Detail |
---|
public <T> T build(java.lang.Class<T> serviceType)
EnvironmentalShadowBuilder
Environment.peekRequired(Class)
.
Note that at the time this method is invoked, the Environment service may still be virtual, and will often not
yet have been loaded with values, and that's OK, the resolution is deferred to the instant a method is invoked.
build
in interface EnvironmentalShadowBuilder
serviceType
- the service type, which is used to obtained the delegate instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |