org.openspaces.pu.container.jee.jetty
Class JettyProcessingUnitContainer
java.lang.Object
org.openspaces.pu.container.jee.jetty.JettyProcessingUnitContainer
- All Implemented Interfaces:
- JeeProcessingUnitContainer, ProcessingUnitContainer, ServiceDetailsProvider, ApplicationContextProcessingUnitContainer
public class JettyProcessingUnitContainer
- extends Object
- implements JeeProcessingUnitContainer
The actual contianer simply holding the jetty web application context, the application context,
and the JettyHolder
. They are used when closing
this container.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyProcessingUnitContainer
public JettyProcessingUnitContainer(ApplicationContext applicationContext,
org.mortbay.jetty.webapp.WebAppContext webAppContext,
org.mortbay.jetty.HandlerContainer container,
JettyHolder jettyHolder)
getApplicationContext
public ApplicationContext getApplicationContext()
- Returns the spring application context this processing unit container wraps.
- Specified by:
getApplicationContext
in interface ApplicationContextProcessingUnitContainer
getServicesDetails
public PUServiceDetails[] getServicesDetails()
- Specified by:
getServicesDetails
in interface ServiceDetailsProvider
close
public void close()
throws CannotCloseContainerException
- Closes the processing unit container by destroying the web application and the Spring application context.
- Specified by:
close
in interface ProcessingUnitContainer
- Throws:
CannotCloseContainerException
Copyright © GigaSpaces.