GigaSpaces XAP 9.7.2 API

org.openspaces.interop
Class DotnetProcessingUnitContainerProvider

java.lang.Object
  extended by org.openspaces.interop.DotnetProcessingUnitContainerProvider
All Implemented Interfaces:
ClusterInfoAware, BeanLevelPropertiesAware, DeployableProcessingUnitContainerProvider, ProcessingUnitContainerProvider

public class DotnetProcessingUnitContainerProvider
extends Object
implements DeployableProcessingUnitContainerProvider, ClusterInfoAware, BeanLevelPropertiesAware

Author:
kimchy

Field Summary
 
Fields inherited from interface org.openspaces.pu.container.DeployableProcessingUnitContainerProvider
CONTEXT_PROPERTY_DEPLOY_PATH
 
Fields inherited from interface org.openspaces.pu.container.ProcessingUnitContainerProvider
CONTAINER_CLASS_PROP
 
Constructor Summary
DotnetProcessingUnitContainerProvider()
           
 
Method Summary
 ProcessingUnitContainer createContainer()
          Creates a processing unit container.
 void setBeanLevelProperties(BeanLevelProperties beanLevelProperties)
          Sets the BeanLevelProperties.
 void setClusterInfo(ClusterInfo clusterInfo)
          Sets the cluster information.
 void setDeployPath(File deployPath)
          Sets the path where the processing unit deployment was extracted to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotnetProcessingUnitContainerProvider

public DotnetProcessingUnitContainerProvider()
Method Detail

setDeployPath

public void setDeployPath(File deployPath)
Description copied from interface: DeployableProcessingUnitContainerProvider
Sets the path where the processing unit deployment was extracted to.

Specified by:
setDeployPath in interface DeployableProcessingUnitContainerProvider

setClusterInfo

public void setClusterInfo(ClusterInfo clusterInfo)
Description copied from interface: ClusterInfoAware
Sets the cluster information.

Note, the cluster information is obtained externally from the application context which means that this feature need to be supported by specific containers (and is not supported by plain Spring application context). This means that beans that implement ClusterInfoAware should take into account the fact that the cluster info provided might be null.

Specified by:
setClusterInfo in interface ClusterInfoAware
Parameters:
clusterInfo - The cluster information to be injected

setBeanLevelProperties

public void setBeanLevelProperties(BeanLevelProperties beanLevelProperties)
Description copied from interface: BeanLevelPropertiesAware
Sets the BeanLevelProperties.

Specified by:
setBeanLevelProperties in interface BeanLevelPropertiesAware

createContainer

public ProcessingUnitContainer createContainer()
                                        throws CannotCreateContainerException
Description copied from interface: ProcessingUnitContainerProvider
Creates a processing unit container.

Specified by:
createContainer in interface ProcessingUnitContainerProvider
Returns:
A newly created processing unit container.
Throws:
CannotCreateContainerException

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.