GigaSpaces XAP 9.7.2 API

org.openspaces.core.gateway
Class GatewayDelegatorFactoryBean

java.lang.Object
  extended by org.openspaces.core.gateway.AbstractGatewayComponentFactoryBean
      extended by org.openspaces.core.gateway.GatewayDelegatorFactoryBean
All Implemented Interfaces:
com.gigaspaces.internal.dump.InternalDumpProcessor, AdminEventListener, ProcessingUnitInstanceAddedEventListener, ClusterInfoAware, BeanLevelMergedPropertiesAware, ServiceDetailsProvider, Aware, BeanNameAware, DisposableBean, InitializingBean

public class GatewayDelegatorFactoryBean
extends AbstractGatewayComponentFactoryBean
implements DisposableBean, InitializingBean, ServiceDetailsProvider

A gateway delegator factory bean for creating a ReplicationConnectionDelegatorContainer.

Since:
8.0.3
Author:
idan

Field Summary
 
Fields inherited from class org.openspaces.core.gateway.AbstractGatewayComponentFactoryBean
logger
 
Constructor Summary
GatewayDelegatorFactoryBean()
           
 
Method Summary
protected  void afterPropertiesSetImpl(SecurityConfig securityConfig)
          Initializes a ReplicationConnectionDelegatorContainer using the provided bean's properties.
protected  void destroyImpl()
          Destroys and unregisters the gateway delegator component.
protected  String dumpState()
           
protected  String getGatewayComponentTypeName()
           
 List<GatewayDelegation> getGatewayDelegations()
           
 ServiceDetails[] getServicesDetails()
          Retruns one or more service details that the service exposes.
 void setGatewayDelegations(List<GatewayDelegation> gatewayDelegations)
          Sets the gateway delegations for the configured ReplicationConnectionDelegatorContainer.
 
Methods inherited from class org.openspaces.core.gateway.AbstractGatewayComponentFactoryBean
afterPropertiesSet, destroy, getCommunicationPort, getCustomJvmProperties, getDiscoveryPort, getGatewayLookups, getLocalGatewayName, getName, isRelocateIfWrongPorts, isStartEmbeddedLus, process, processingUnitInstanceAdded, setBeanName, setClusterInfo, setCommunicationPort, setCredentialsProvider, setCustomJvmProperties, setGatewayLookups, setLocalGatewayName, setMergedBeanLevelProperties, setRelocateIfWrongPorts, setSecurityConfig, setStartEmbeddedLus, setUserDetails
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.beans.factory.DisposableBean
destroy
 
Methods inherited from interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
 

Constructor Detail

GatewayDelegatorFactoryBean

public GatewayDelegatorFactoryBean()
Method Detail

getGatewayDelegations

public List<GatewayDelegation> getGatewayDelegations()
Returns:
Gateway delegator factory bean's delegations as a GatewayDelegation array.

setGatewayDelegations

public void setGatewayDelegations(List<GatewayDelegation> gatewayDelegations)
Sets the gateway delegations for the configured ReplicationConnectionDelegatorContainer.

Parameters:
gatewayDelegations - GatewayDelegations array.

afterPropertiesSetImpl

protected void afterPropertiesSetImpl(SecurityConfig securityConfig)
Initializes a ReplicationConnectionDelegatorContainer using the provided bean's properties.

Specified by:
afterPropertiesSetImpl in class AbstractGatewayComponentFactoryBean

destroyImpl

protected void destroyImpl()
Destroys and unregisters the gateway delegator component.

Specified by:
destroyImpl in class AbstractGatewayComponentFactoryBean

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

getGatewayComponentTypeName

protected String getGatewayComponentTypeName()
Specified by:
getGatewayComponentTypeName in class AbstractGatewayComponentFactoryBean
Returns:
The gateway component's type name.

dumpState

protected String dumpState()
Specified by:
dumpState in class AbstractGatewayComponentFactoryBean

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.