|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mortbay.jetty.servlet.TagLibConfiguration
TagLibConfiguration. The class searches for TLD descriptors found in web.xml, in WEB-INF/*.tld files of the web app or *.tld files withing jars found in WEB-INF/lib of the webapp. Any listeners defined in these tld's are added to the context. <bile>This is total rubbish special case for JSPs! If there was a general use-case for web app frameworks to register listeners directly, then a generic mechanism could have been added to the servlet spec. Instead some special purpose JSP support is required that breaks all sorts of encapsualtion rules as the servlet container must go searching for and then parsing the descriptors for one particular framework. It only appears to be used by JSF, which is being developed by the same developer who implemented this feature in the first place! </bile>
Constructor Summary | |
TagLibConfiguration()
|
Method Summary | |
void |
configureClassPath()
Configure ClassPath. |
void |
configureDefaults()
Configure Defaults. |
void |
configureWebApp()
Configure WebApp. |
WebApplicationContext |
getWebApplicationContext()
Get the context on which the configuration is performed. |
void |
setWebApplicationContext(WebApplicationContext context)
Set up a context on which to perform the configuration. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TagLibConfiguration()
Method Detail |
public void setWebApplicationContext(WebApplicationContext context)
WebApplicationContext.Configuration
setWebApplicationContext
in interface WebApplicationContext.Configuration
context
- public WebApplicationContext getWebApplicationContext()
WebApplicationContext.Configuration
getWebApplicationContext
in interface WebApplicationContext.Configuration
public void configureClassPath() throws java.lang.Exception
WebApplicationContext.Configuration
configureClassPath
in interface WebApplicationContext.Configuration
java.lang.Exception
public void configureDefaults() throws java.lang.Exception
WebApplicationContext.Configuration
configureDefaults
in interface WebApplicationContext.Configuration
java.lang.Exception
public void configureWebApp() throws java.lang.Exception
WebApplicationContext.Configuration
configureWebApp
in interface WebApplicationContext.Configuration
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |