Package org.apache.tapestry5.modules
Class InternalModule
- java.lang.Object
-
- org.apache.tapestry5.modules.InternalModule
-
@Marker(Core.class) public class InternalModule extends Object
TapestryModule
has gotten too complicated and it is nice to demarkate public (and stable) from internal (and volatile).
-
-
Constructor Summary
Constructors Constructor Description InternalModule()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
bind(ServiceBinder binder)
Bind all the private/internal services of Tapestry.static CookieSink
buildCookieSink(RequestGlobals requestGlobals)
static CookieSource
buildCookieSource(RequestGlobals requestGlobals)
static void
configureControlledPackagesFromComponentClassResolver(MappedConfiguration<String,ControlledPackageType> configuration, ComponentClassResolver resolver)
Contributes packages identified byComponentClassResolver.getControlledPackageMapping()
.static void
contributeLinkSource(OrderedConfiguration<LinkCreationListener2> configuration)
Contributes: LinkDecoration (instance ofLinkDecorationListener
) Triggers events for notifications about links
-
-
-
Constructor Detail
-
InternalModule
public InternalModule()
-
-
Method Detail
-
bind
public static void bind(ServiceBinder binder)
Bind all the private/internal services of Tapestry.
-
buildCookieSource
public static CookieSource buildCookieSource(RequestGlobals requestGlobals)
-
buildCookieSink
public static CookieSink buildCookieSink(RequestGlobals requestGlobals)
-
contributeLinkSource
public static void contributeLinkSource(OrderedConfiguration<LinkCreationListener2> configuration)
Contributes:- LinkDecoration (instance of
LinkDecorationListener
) - Triggers events for notifications about links
- Since:
- 5.2.0
- LinkDecoration (instance of
-
configureControlledPackagesFromComponentClassResolver
@Contribute(ComponentInstantiatorSource.class) public static void configureControlledPackagesFromComponentClassResolver(MappedConfiguration<String,ControlledPackageType> configuration, ComponentClassResolver resolver)
Contributes packages identified byComponentClassResolver.getControlledPackageMapping()
.- Since:
- 5.3
-
-