|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.services.AliasContribution<T>
public final class AliasContribution<T>
A contribution into the Alias or AliasOverride service configuration.
| Constructor Summary | |
|---|---|
AliasContribution(Class<T> contributionType,
String mode,
T object)
|
|
AliasContribution(Class<T> contributionType,
T object)
Conntributes the object with a blank mode. |
|
| Method Summary | ||
|---|---|---|
static
|
create(Class<X> contributionType,
String mode,
X object)
Simplifies the creation of an AliasContribution around a known type, mode, and an instance of that type. |
|
static
|
create(Class<X> contributionType,
X object)
Simplifies the creation of an AliasContribution around a known type and instance of that type. |
|
Class<T> |
getContributionType()
|
|
String |
getMode()
Returns the mode of operation for this instance of Tapestry. |
|
T |
getObject()
The contributed object, which will be made available. |
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AliasContribution(Class<T> contributionType,
T object)
public AliasContribution(Class<T> contributionType,
String mode,
T object)
| Method Detail |
|---|
public static <X> AliasContribution<X> create(Class<X> contributionType,
X object)
public static <X> AliasContribution<X> create(Class<X> contributionType,
String mode,
X object)
public String getMode()
public Class<T> getContributionType()
public T getObject()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||