|
Expresso 5-5-0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.ComponentBase
com.jcorporate.expresso.kernel.ContainerComponentBase
This class provides basic implementations of the Containable Interface to save the typical programmer lots of typing. Under 99% of the conditions it should be sufficient to derivce your container component from this class instead of implementing the interfaces in a raw fashion.
| Constructor Summary | |
ContainerComponentBase()
Default constructor that currently does nothing. |
|
| Method Summary | |
ComponentContainer |
getContainerImplementation()
Retrieves the actual container implementation |
ExpressoComponent |
locateComponent(String componentName)
Convenience method for Container clients. |
void |
setContainerImplementation(ComponentContainer newContainer)
Sets the marker to the ComponentContainer (which has a 1:1 instance mapping with Containable). |
| Methods inherited from class com.jcorporate.expresso.kernel.ComponentBase |
getMetaData, getMetadataLocation, getParent, setMetaData, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jcorporate.expresso.kernel.ExpressoComponent |
getMetaData, getParent, setParent |
| Constructor Detail |
public ContainerComponentBase()
| Method Detail |
public void setContainerImplementation(ComponentContainer newContainer)
setContainerImplementation in interface ContainablenewContainer - a ComponentCopublic ComponentContainer getContainerImplementation()
getContainerImplementation in interface Containablepublic ExpressoComponent locateComponent(String componentName)
Convenience method for Container clients. Recommended Implementation:
ExpressoComponent getComponent(String componentName) {
return this.getContainerImplementation().getComponent(componentName);
}
locateComponent in interface ContainablecomponentName - The name of the component to retrieve
|
Expresso 5-5-0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||