|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.plastic.Lockable org.apache.tapestry5.plastic.PlasticManager.PlasticManagerBuilder
public static class PlasticManager.PlasticManagerBuilder
A builder object for configuring the PlasticManager before instantiating it. Assumes a no-op
PlasticManagerDelegate
and an empty set of controlled packages, which is appropriate
when simply creating proxy objects.
The builder object is internally mutable and uses a fluid API (each method returns the same instance).
Method Summary | |
---|---|
PlasticManager |
create()
Creates the PlasticManager with the current set of options. |
PlasticManager.PlasticManagerBuilder |
delegate(PlasticManagerDelegate delegate)
Sets the PlasticManagerDelegate , which is ultimately responsible for
transforming classes loaded from controlled packages. |
PlasticManager.PlasticManagerBuilder |
enable(TransformationOption option)
|
PlasticManager.PlasticManagerBuilder |
packages(Collection<String> packageNames)
Adds additional controlled packages, in which classes are loaded and transformed. |
Methods inherited from class org.apache.tapestry5.internal.plastic.Lockable |
---|
check, lock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public PlasticManager.PlasticManagerBuilder delegate(PlasticManagerDelegate delegate)
PlasticManagerDelegate
, which is ultimately responsible for
transforming classes loaded from controlled packages. The default delegate
does nothing.
public PlasticManager.PlasticManagerBuilder packages(Collection<String> packageNames)
public PlasticManager.PlasticManagerBuilder enable(TransformationOption option)
public PlasticManager create()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |