Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A better alternative is the @SubModule annotationImportModule annotation (@SubModule if using a Tapestry version lower than 5.4).

The value for this annotation is a list of additional classes to be treated as module classes, exactly as if they were identified in the manifest. Despite the name, there is no hierarchy of modules in Tapestry IoC.

Example:

Code Block
languagejava
@SubModule@ImportModule(
{ InternalTransformModule.class })
public final class InternalModule
{
  . . .

In general, your should only need to identify a single module in the JAR manifest, and make use of @SubModule to pull in any additional module classes. 


scrollbar