GigaSpaces XAP 10.0.1 API

org.openspaces.interop
Class DotnetProcessingUnitBean

java.lang.Object
  extended by org.openspaces.interop.DotnetProcessingUnitBean
All Implemented Interfaces:
ClusterInfoAware, BeanLevelPropertiesAware, ServiceDetailsProvider, ServiceMonitorsProvider, DisposableBean, InitializingBean

public class DotnetProcessingUnitBean
extends Object
implements InitializingBean, DisposableBean, ClusterInfoAware, BeanLevelPropertiesAware, ServiceDetailsProvider, ServiceMonitorsProvider

Dotnet processing unit bean, used as an adapter that will delegate the life cycle method invocation to the .Net processing unit implementation of the .Net GigaSpaces.Core.IProcessingUnit interface

Since:
6.5
Author:
eitany

Field Summary
protected  Log log
           
 
Constructor Summary
DotnetProcessingUnitBean()
           
 
Method Summary
 void afterPropertiesSet()
          
 void destroy()
          
 ServiceDetails[] getServicesDetails()
          Retruns one or more service details that the service exposes.
 ServiceMonitors[] getServicesMonitors()
          Retruns one or more service details that the service exposes.
 void setAssemblyFile(String assemblyFile)
          Injects the .Net processing unit implementation's assembly file
 void setBeanLevelProperties(BeanLevelProperties beanLevelProperties)
          Sets the BeanLevelProperties.
 void setClusterInfo(ClusterInfo clusterInfo)
          Sets the cluster information.
 void setCustomProperties(Properties customProperties)
          Injects the .Net processing unit properties that will be passed to the init method
 void setDependencies(String[] dependencies)
          Injects the .Net processing unit implementation's dependencies
 void setDeploymentDirectory(String deploymentDirectory)
           
 void setImplementationClassName(String implementationClassName)
          Injects the .Net processing unit implementation class name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final Log log
Constructor Detail

DotnetProcessingUnitBean

public DotnetProcessingUnitBean()
Method Detail

setAssemblyFile

public void setAssemblyFile(String assemblyFile)
Injects the .Net processing unit implementation's assembly file


setImplementationClassName

public void setImplementationClassName(String implementationClassName)
Injects the .Net processing unit implementation class name


setDependencies

public void setDependencies(String[] dependencies)
Injects the .Net processing unit implementation's dependencies


setDeploymentDirectory

public void setDeploymentDirectory(String deploymentDirectory)
Parameters:
deploymentDirectory - the deploymentDirectory to set

setCustomProperties

public void setCustomProperties(Properties customProperties)
Injects the .Net processing unit properties that will be passed to the init method


setClusterInfo

public void setClusterInfo(ClusterInfo clusterInfo)
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

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception

Specified by:
destroy in interface DisposableBean
Throws:
Exception

setBeanLevelProperties

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

Specified by:
setBeanLevelProperties in interface BeanLevelPropertiesAware

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

getServicesMonitors

public ServiceMonitors[] getServicesMonitors()
Description copied from interface: ServiceMonitorsProvider
Retruns one or more service details that the service exposes.

Specified by:
getServicesMonitors in interface ServiceMonitorsProvider

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.