|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.services.impl.InfrastructureContribution
public class InfrastructureContribution
A contribution to the Infrastructure
service. Defines
a property of Infrastructure and the value for that property. The infrastructure is setup in a
mode (currently, either "servlet" or "portlet"). Contributions that define a non-null
mode are ignored unless their mode matches the Infrastructure mode.
There are two configuration points that control Infrastructure:
tapestry.Infrastructure
and tapestry.InfrastructureOverride
.
Constructor Summary | |
---|---|
InfrastructureContribution()
|
Method Summary | |
---|---|
String |
getMode()
The mode for which this contribution applies, or null if the contribution applies to all modes. |
Object |
getObject()
The object which should be exposed as the given Infrastructure property. |
String |
getProperty()
The property of the Infrastructure for which a value is
to be provided. |
boolean |
matchesMode(String mode)
|
void |
setDeferredObject(DeferredObject deferredObject)
|
void |
setMode(String mode)
|
void |
setProperty(String property)
|
void |
setValue(String value)
|
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
---|
getLocation, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InfrastructureContribution()
Method Detail |
---|
public void setDeferredObject(DeferredObject deferredObject)
public void setValue(String value)
public Object getObject()
public String getMode()
public void setMode(String mode)
public String getProperty()
Infrastructure
for which a value is
to be provided.
public void setProperty(String property)
public boolean matchesMode(String mode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |