org.openspaces.core.gateway
Class GatewayDelegatorFactoryBean
java.lang.Object
org.openspaces.core.gateway.AbstractGatewayComponentFactoryBean
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
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 |
GatewayDelegatorFactoryBean
public GatewayDelegatorFactoryBean()
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
- GatewayDelegation
s 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
Copyright © GigaSpaces.