|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExtensionSpecification
Defines an "extension", which is much like a helper bean, but is part of a library or application specification (and has the same lifecycle as the application).
Method Summary | |
---|---|
void |
addConfiguration(String propertyName,
Object value)
|
String |
getClassName()
|
Map |
getConfiguration()
Returns an immutable Map of the configuration; keyed on property name, with values as properties to assign. |
Object |
instantiateExtension(IResourceResolver resolver)
Invoked to instantiate an instance of the extension and return it. |
boolean |
isImmediate()
Returns true if the extensions should be instantiated immediately after the containing LibrarySpecification
if parsed. |
void |
setClassName(String className)
|
void |
setImmediate(boolean immediate)
|
Methods inherited from interface org.apache.tapestry.util.IPropertyHolder |
---|
getProperty, getPropertyNames, removeProperty, setProperty |
Methods inherited from interface org.apache.tapestry.ILocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.tapestry.ILocatable |
---|
getLocation |
Method Detail |
---|
String getClassName()
void setClassName(String className)
void addConfiguration(String propertyName, Object value)
Map getConfiguration()
Object instantiateExtension(IResourceResolver resolver)
boolean isImmediate()
LibrarySpecification
if parsed. Non-immediate extensions are instantiated
only as needed.
void setImmediate(boolean immediate)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |