public class AssetConsumerOMRSTopicListener extends OMRSTopicListenerBase
auditLog, serviceName| Constructor and Description |
|---|
AssetConsumerOMRSTopicListener(Connection assetConsumerOutTopic,
OMRSRepositoryHelper repositoryHelper,
OMRSRepositoryValidator repositoryValidator,
String componentName,
String serverName,
List<String> supportedZones,
AuditLog auditLog)
The constructor is given the connection to the out topic for Asset Consumer OMAS
along with classes for testing and manipulating instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
processInstanceEvent(OMRSInstanceEvent instanceEvent)
Unpack and deliver an instance event to the InstanceEventProcessor
|
getInstanceTypeName, processAttributeTypeDefConflictEvent, processBadConnectionEvent, processClassifiedEntityEvent, processClassifiedEntityEvent, processConflictingCollectionIdEvent, processConflictingInstancesEvent, processConflictingTypeEvent, processDeclassifiedEntityEvent, processDeclassifiedEntityEvent, processDeletedAttributeTypeDefEvent, processDeletedEntityEvent, processDeletedRelationshipEvent, processDeletedTypeDefEvent, processDeletePurgedEntityEvent, processDeletePurgedRelationshipEvent, processInstanceBatchEvent, processNewAttributeTypeDefEvent, processNewEntityEvent, processNewRelationshipEvent, processNewTypeDefEvent, processPurgedEntityEvent, processPurgedRelationshipEvent, processReclassifiedEntityEvent, processReclassifiedEntityEvent, processRefreshEntityEvent, processRefreshEntityRequested, processRefreshRelationshipEvent, processRefreshRelationshipRequest, processRegistrationEvent, processRegistrationRefreshRequest, processRegistryEvent, processReHomedEntityEvent, processReHomedRelationshipEvent, processReIdentifiedAttributeTypeDefEvent, processReIdentifiedEntityEvent, processReIdentifiedRelationshipEvent, processReIdentifiedTypeDefEvent, processReRegistrationEvent, processRestoredEntityEvent, processRestoredRelationshipEvent, processReTypedEntityEvent, processReTypedRelationshipEvent, processTypeDefConflictEvent, processTypeDefEvent, processTypeDefPatchMismatchEvent, processUndoneEntityEvent, processUndoneRelationshipEvent, processUnRegistrationEvent, processUpdatedEntityEvent, processUpdatedRelationshipEvent, processUpdatedTypeDefEventpublic AssetConsumerOMRSTopicListener(Connection assetConsumerOutTopic, OMRSRepositoryHelper repositoryHelper, OMRSRepositoryValidator repositoryValidator, String componentName, String serverName, List<String> supportedZones, AuditLog auditLog) throws OMAGConfigurationErrorException
assetConsumerOutTopic - connection to the out topicrepositoryHelper - provides methods for working with metadata instancesrepositoryValidator - provides validation of metadata instancecomponentName - name of componentserverName - local server namesupportedZones - list of zones covered by this instance of the access service.auditLog - log for errors and information messagesOMAGConfigurationErrorException - problems creating the connector for the outTopicpublic void processInstanceEvent(OMRSInstanceEvent instanceEvent)
processInstanceEvent in interface OMRSTopicListenerprocessInstanceEvent in class OMRSTopicListenerBaseinstanceEvent - event to unpackCopyright © 2018–2020 ODPi. All rights reserved.