org.openspaces.pu.container.jee.glassfish
Class GlassfishProcessingUnitContainer
java.lang.Object
org.openspaces.pu.container.jee.glassfish.GlassfishProcessingUnitContainer
- All Implemented Interfaces:
- JeeProcessingUnitContainer, ProcessingUnitContainer, ApplicationContextProcessingUnitContainer, ServiceDetailsProvider
public class GlassfishProcessingUnitContainer
- extends Object
- implements JeeProcessingUnitContainer
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlassfishProcessingUnitContainer
public GlassfishProcessingUnitContainer(ApplicationContext applicationContext,
org.glassfish.embed.Application application,
GlassfishHolder glassfishHolder,
WebappConfiguration webappConfiguration)
getApplicationContext
public ApplicationContext getApplicationContext()
- Returns the spring application context this processing unit container wraps.
- Specified by:
getApplicationContext
in interface ApplicationContextProcessingUnitContainer
getServicesDetails
public ServiceDetails[] getServicesDetails()
- Description copied from interface:
ServiceDetailsProvider
- Retruns one or more service details that the service exposes.
- Specified by:
getServicesDetails
in interface ServiceDetailsProvider
getJeeDetails
public JeeServiceDetails getJeeDetails()
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.