|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentDefinitionsFactory
Component repository interface. This interface allows to retrieve an definition by its name, independently of the factory implementation. Implementation must be Serializable, in order to be compliant with web Container having this constraint (Weblogic 6.x).
Method Summary | |
---|---|
ComponentDefinition |
getDefinition(java.lang.String name,
javax.servlet.ServletRequest request,
javax.servlet.ServletContext servletContext)
Deprecated. Get a definition by its name. |
void |
initFactory(javax.servlet.ServletContext servletContext,
java.util.Map properties)
Deprecated. Init factory. |
Method Detail |
---|
ComponentDefinition getDefinition(java.lang.String name, javax.servlet.ServletRequest request, javax.servlet.ServletContext servletContext) throws NoSuchDefinitionException, DefinitionsFactoryException
name
- Name of requested definition.request
- Current servelet requestservletContext
- current servlet context
DefinitionsFactoryException
- An error occur while getting definition.
NoSuchDefinitionException
- No definition found for specified name
Implementation can throw more accurate exception as a subclass of this exceptionvoid initFactory(javax.servlet.ServletContext servletContext, java.util.Map properties) throws DefinitionsFactoryException
servletContext
- Servlet Context passed to newly created factory.properties
- Map of name/property passed to newly created factory.
Map can contains more properties than requested.
DefinitionsFactoryException
- An error occur during initialization.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |