Package org.openspaces.core.gateway
Class GatewayDelegatorFactoryBean
java.lang.Object
org.openspaces.core.gateway.AbstractGatewayComponentFactoryBean
org.openspaces.core.gateway.GatewayDelegatorFactoryBean
- All Implemented Interfaces:
InternalDumpProcessor,AdminEventListener,ProcessingUnitInstanceAddedEventListener,ClusterInfoAware,BeanLevelMergedPropertiesAware,ServiceDetailsProvider,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
public class GatewayDelegatorFactoryBean
extends AbstractGatewayComponentFactoryBean
implements org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterPropertiesSetImpl(SecurityConfig securityConfig) Initializes aReplicationConnectionDelegatorContainerusing the provided bean's properties.protected voidDestroys and unregisters the gateway delegator component.protected Stringprotected StringRetruns one or more service details that the service exposes.voidsetGatewayDelegations(List<GatewayDelegation> gatewayDelegations) Sets the gateway delegations for the configuredReplicationConnectionDelegatorContainer.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, setUserDetailsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.DisposableBean
destroyMethods inherited from interface org.springframework.beans.factory.InitializingBean
afterPropertiesSetMethods inherited from interface com.gigaspaces.internal.dump.InternalDumpProcessor
getDumpFileReportLocation, setDumpFileReportLocation
-
Constructor Details
-
GatewayDelegatorFactoryBean
public GatewayDelegatorFactoryBean()
-
-
Method Details
-
getGatewayDelegations
- Returns:
- Gateway delegator factory bean's delegations as a
GatewayDelegationarray.
-
setGatewayDelegations
Sets the gateway delegations for the configuredReplicationConnectionDelegatorContainer.- Parameters:
gatewayDelegations-GatewayDelegations array.
-
afterPropertiesSetImpl
Initializes aReplicationConnectionDelegatorContainerusing the provided bean's properties.- Specified by:
afterPropertiesSetImplin classAbstractGatewayComponentFactoryBean
-
destroyImpl
protected void destroyImpl()Destroys and unregisters the gateway delegator component.- Specified by:
destroyImplin classAbstractGatewayComponentFactoryBean
-
getServicesDetails
Description copied from interface:ServiceDetailsProviderRetruns one or more service details that the service exposes.- Specified by:
getServicesDetailsin interfaceServiceDetailsProvider
-
getGatewayComponentTypeName
- Specified by:
getGatewayComponentTypeNamein classAbstractGatewayComponentFactoryBean- Returns:
- The gateway component's type name.
-
dumpState
- Specified by:
dumpStatein classAbstractGatewayComponentFactoryBean
-