GigaSpaces XAP 7.0 API

org.openspaces.pu.container.jee.glassfish
Class GlassfishProcessingUnitContainer

java.lang.Object
  extended by org.openspaces.pu.container.jee.glassfish.GlassfishProcessingUnitContainer
All Implemented Interfaces:
JeeProcessingUnitContainer, ProcessingUnitContainer, ApplicationContextProcessingUnitContainer, ServiceDetailsProvider

public class GlassfishProcessingUnitContainer
extends Object
implements JeeProcessingUnitContainer

Author:
kimchy

Constructor Summary
GlassfishProcessingUnitContainer(ApplicationContext applicationContext, org.glassfish.embed.Application application, GlassfishHolder glassfishHolder, WebappConfiguration webappConfiguration)
           
 
Method Summary
 void close()
          Closes the processing unit container by destroying the web application and the Spring application context.
 ApplicationContext getApplicationContext()
          Returns the spring application context this processing unit container wraps.
 JeeServiceDetails getJeeDetails()
           
 ServiceDetails[] getServicesDetails()
          Retruns one or more service details that the service exposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlassfishProcessingUnitContainer

public GlassfishProcessingUnitContainer(ApplicationContext applicationContext,
                                        org.glassfish.embed.Application application,
                                        GlassfishHolder glassfishHolder,
                                        WebappConfiguration webappConfiguration)
Method Detail

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

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.