public class GatewaySinkFactoryBean extends AbstractGatewayComponentFactoryBean implements org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, InvocableService, ServiceDetailsProvider
LocalClusterReplicationSink which represents a gateway
sink component.logger| Constructor and Description |
|---|
GatewaySinkFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterPropertiesSetImpl(SecurityConfig securityConfig) |
protected void |
destroyImpl() |
protected String |
dumpState() |
GatewaySinkDistributedTransactionProcessingConfigurationFactoryBean |
getDistributedTransactionProcessingConfiguration()
Gets distributed transaction processing configuration for the Sink component.
|
SinkErrorHandlingFactoryBean |
getErrorHandlingConfiguration()
Gets the error handling configuration instance defined for the Sink component.
|
protected String |
getGatewayComponentTypeName() |
List<GatewaySource> |
getGatewaySources() |
Long |
getLocalSpaceLookupTimeout()
Gets the lookup timeout for finding the local cluster the Sink works against.
|
String |
getLocalSpaceUrl() |
boolean |
getRequiresBootstrap()
Gets whether bootstrap is required for the Sink component.
|
ServiceDetails[] |
getServicesDetails()
Retruns one or more service details that the service exposes.
|
GatewaySinkSyncEndpointInterceptorFactoryBean |
getSyncEndpointInterceptorConfiguration()
Gets the synchronization endpoint interceptor configuration for the sink component.
|
Long |
getTransactionTimeout()
Gets the transaction timeout for the operations made by the Sink against the local cluster.
|
Object |
invoke(Map<String,Object> namedArgs) |
void |
setDistributedTransactionProcessingConfiguration(GatewaySinkDistributedTransactionProcessingConfigurationFactoryBean transactionProcessingConfiguration)
Sets the distributed transaction processing configuration for the Sink component.
|
void |
setErrorHandlingConfiguration(SinkErrorHandlingFactoryBean errorHandlingConfiguration)
Sets the error handling configuration instance for the Sink component.
|
void |
setGatewaySources(List<GatewaySource> gatewaySources)
Sets the sink component's gateway replication sources.
|
void |
setLocalSpaceLookupTimeout(Long lookupTimeout)
Sets the lookup timeout for finding the local cluster the Sink works against.
|
void |
setLocalSpaceUrl(String localSpaceUrl)
Sets the local space URL the sink component operates against.
|
void |
setRequiresBootstrap(boolean requiresBootstrap)
Sets whether bootstrap is required for the Sink component.
|
void |
setSyncEndpointInterceptorConfiguration(GatewaySinkSyncEndpointInterceptorFactoryBean syncEndpointInterceptorConfiguration)
Sets the synchronization endpoint interceptor configuration for the sink component.
|
void |
setTransactionTimeout(Long transactionTimeout)
Sets the transaction timeout for the operations made by the Sink against the local cluster.
|
afterPropertiesSet, destroy, getCommunicationPort, getCustomJvmProperties, getDiscoveryPort, getGatewayLookups, getLocalGatewayName, getName, isRelocateIfWrongPorts, isStartEmbeddedLus, process, processingUnitInstanceAdded, setBeanName, setClusterInfo, setCommunicationPort, setCredentialsProvider, setCustomJvmProperties, setGatewayLookups, setLocalGatewayName, setMergedBeanLevelProperties, setRelocateIfWrongPorts, setSecurityConfig, setStartEmbeddedLus, setUserDetailspublic String getLocalSpaceUrl()
public void setLocalSpaceUrl(String localSpaceUrl)
localSpaceUrl - The local space URL.public List<GatewaySource> getGatewaySources()
public void setGatewaySources(List<GatewaySource> gatewaySources)
gatewaySources - The gateway replication sources.public void setRequiresBootstrap(boolean requiresBootstrap)
requiresBootstrap - true if bootstrap is required.public boolean getRequiresBootstrap()
public void setErrorHandlingConfiguration(SinkErrorHandlingFactoryBean errorHandlingConfiguration)
errorHandlingConfiguration - The error handling configuration instance.public SinkErrorHandlingFactoryBean getErrorHandlingConfiguration()
public Long getTransactionTimeout()
public void setTransactionTimeout(Long transactionTimeout)
transactionTimeout - The transaction timeout in milliseconds.public void setLocalSpaceLookupTimeout(Long lookupTimeout)
lookupTimeout - The lookup timeout in milliseconds.public Long getLocalSpaceLookupTimeout()
public GatewaySinkDistributedTransactionProcessingConfigurationFactoryBean getDistributedTransactionProcessingConfiguration()
public void setDistributedTransactionProcessingConfiguration(GatewaySinkDistributedTransactionProcessingConfigurationFactoryBean transactionProcessingConfiguration)
transactionProcessingConfiguration - The distributed transaction processing
configuration to set.public GatewaySinkSyncEndpointInterceptorFactoryBean getSyncEndpointInterceptorConfiguration()
public void setSyncEndpointInterceptorConfiguration(GatewaySinkSyncEndpointInterceptorFactoryBean syncEndpointInterceptorConfiguration)
syncEndpointInterceptorConfiguration - the syncEndpointInterceptorConfiguration to setprotected void afterPropertiesSetImpl(SecurityConfig securityConfig)
afterPropertiesSetImpl in class AbstractGatewayComponentFactoryBeanprotected void destroyImpl()
destroyImpl in class AbstractGatewayComponentFactoryBeanpublic Object invoke(Map<String,Object> namedArgs)
invoke in interface InvocableServicepublic ServiceDetails[] getServicesDetails()
ServiceDetailsProvidergetServicesDetails in interface ServiceDetailsProviderprotected String getGatewayComponentTypeName()
getGatewayComponentTypeName in class AbstractGatewayComponentFactoryBeanprotected String dumpState()
dumpState in class AbstractGatewayComponentFactoryBeanCopyright © GigaSpaces.