| java.lang.Object org.apache.tapestry.services.AliasContribution
AliasContribution | final public class AliasContribution (Code) | | A contribution into the
Alias or AliasOverride service configuration.
|
AliasContribution | public AliasContribution(Class<T> contributionType, T object)(Code) | | Conntributes the object with a blank mode.
|
AliasContribution | public AliasContribution(Class<T> contributionType, String mode, T object)(Code) | | |
create | public static AliasContribution<X> create(Class<X> contributionType, X object)(Code) | | Simplifies the creation of an AliasContribution around a known type and instance of that
type.
|
create | public static AliasContribution<X> create(Class<X> contributionType, String mode, X object)(Code) | | Simplifies the creation of an AliasContribution around a known type, mode, and an instance of
that type.
|
getContributionType | public Class<T> getContributionType()(Code) | | |
getMode | public String getMode()(Code) | | Returns the mode of operation for this instance of Tapestry. Most of the time, this will be
the empty string, meaning that the contribution applies to Tapestry is any mode. In other
cases, the mode will be "servlet" but may be other modes via add on modules, such as
"portlet" or "offline".
|
getObject | public T getObject()(Code) | | The contributed object, which will be made available.
|
|
|