|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.servlet.ServletContextUtils
public final class ServletContextUtils
ServletContextUtils
provides methods to embed a Plexus container within a Servlet context.
Constructor Summary | |
---|---|
ServletContextUtils()
|
Method Summary | |
---|---|
void |
start(javax.servlet.ServletContext context)
Create a Plexus container using the DefaultPlexusContainer . |
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletContextUtils()
Method Detail |
---|
public void start(javax.servlet.ServletContext context) throws org.codehaus.plexus.PlexusContainerException
DefaultPlexusContainer
. This method should be
called from an environment where a ServletContext
is available. It will create and initialize the
Plexus container and place references to the container into the context.
context
- The servlet context to place the container in.
org.codehaus.plexus.PlexusContainerException
- If the Plexus container could not be started.public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |