Class DefaultChannelConfigurationFactory
- java.lang.Object
-
- de.hybris.platform.outboundsync.config.impl.DefaultChannelConfigurationFactory
-
- All Implemented Interfaces:
ChannelConfigurationFactory
public class DefaultChannelConfigurationFactory extends java.lang.Object implements ChannelConfigurationFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultChannelConfigurationFactory()
-
Method Summary
-
-
-
Method Detail
-
createStreamContainer
public OutboundSyncStreamConfigurationContainerModel createStreamContainer(OutboundChannelConfigurationModel channel)
Description copied from interface:ChannelConfigurationFactoryCreates theStreamConfigurationContainerModel- Specified by:
createStreamContainerin interfaceChannelConfigurationFactory- Parameters:
channel- theOutboundChannelConfigurationModel- Returns:
- the new
StreamConfigurationContainerModel
-
createStreams
public java.util.List<StreamConfigurationModel> createStreams(OutboundChannelConfigurationModel channel, StreamConfigurationContainerModel streamContainer)
Description copied from interface:ChannelConfigurationFactoryCreate theStreamConfigurationModels for each IntegrationObjectItem- Specified by:
createStreamsin interfaceChannelConfigurationFactory- Parameters:
channel- theOutboundChannelConfigurationModelto associate with eachStreamConfigurationModelstreamContainer- theStreamConfigurationContainerModelto associate with eachStreamConfigurationModel- Returns:
- a list of
StreamConfigurationModels
-
createIntegrationObjectDescriptor
protected IntegrationObjectDescriptor createIntegrationObjectDescriptor(IntegrationObjectModel model)
Creates an integration object descriptor for the given integration object model.- Parameters:
model- a model to create a descriptor for- Returns:
- a descriptor for the provided model.
- Throws:
java.lang.IllegalArgumentException- if the model isnull.
-
createCronJob
public OutboundSyncCronJobModel createCronJob(OutboundChannelConfigurationModel channel, OutboundSyncJobModel job)
Description copied from interface:ChannelConfigurationFactoryCreates theOutboundSyncCronJobModel- Specified by:
createCronJobin interfaceChannelConfigurationFactory- Parameters:
channel- theOutboundChannelConfigurationModelto associate with the new outboundsync componentjob- theOutboundSyncJobModelto associate with the new outboundsync component- Returns:
- the new
OutboundSyncCronJobModel
-
createJob
public OutboundSyncJobModel createJob(OutboundChannelConfigurationModel channel, OutboundSyncStreamConfigurationContainerModel streamConfigContainer)
Description copied from interface:ChannelConfigurationFactoryCreates theOutboundSyncJobModel- Specified by:
createJobin interfaceChannelConfigurationFactory- Parameters:
channel- theOutboundChannelConfigurationModelto associate with the new outboundsync componentstreamConfigContainer- theOutboundSyncStreamConfigurationContainerModelto associate with the new outboundsync component- Returns:
- the new
OutboundSyncJobModel
-
getStreamIdentifierGenerator
protected StreamIdentifierGenerator getStreamIdentifierGenerator()
-
setStreamIdentifierGenerator
public void setStreamIdentifierGenerator(StreamIdentifierGenerator generator)
-
getStreamContainerIdentifierGenerator
protected IdentifierGenerator<OutboundChannelConfigurationModel> getStreamContainerIdentifierGenerator()
-
setStreamContainerIdentifierGenerator
public void setStreamContainerIdentifierGenerator(IdentifierGenerator<OutboundChannelConfigurationModel> streamContainerIdentifierGenerator)
-
getJobIdentifierGenerator
protected IdentifierGenerator<OutboundChannelConfigurationModel> getJobIdentifierGenerator()
-
setJobIdentifierGenerator
public void setJobIdentifierGenerator(IdentifierGenerator<OutboundChannelConfigurationModel> jobIdentifierGenerator)
-
getCronJobIdentifierGenerator
protected IdentifierGenerator<OutboundChannelConfigurationModel> getCronJobIdentifierGenerator()
-
setCronJobIdentifierGenerator
public void setCronJobIdentifierGenerator(IdentifierGenerator<OutboundChannelConfigurationModel> cronJobIdentifierGenerator)
-
-