Interface DeclarationsRegistryApi
- All Known Implementing Classes:
- DeclarationsRegistry
API interface for 
DeclarationsRegistry used within the framework structure.- 
Method SummaryModifier and TypeMethodDescriptiongetCompositeProcessConsumerDefinitions(String compositeProcessID) Returns consumers of the composite process as defined in the annotationCompositeProcessgetCompositeProcessConsumersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the processes that are consumers from a scenario.getCompositeProcessProviderDefinition(String compositeProcessID) Returns provider of the composite process as defined in the annotationCompositeProcessgetCompositeProcessProvidersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the processes that are providers for a scenario.getConnectorById(String connectorId) GetConnectorDefinitionby its id.getConsumersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the consumers for a scenario, they can be eitherCompositeProcessDefinitionorOutboundConnectorDefinitionGet list of allInboundConnectorDefinition.getInboundConnectorsByScenarioId(String scenarioId) Get list ofInboundConnectorDefinitionby id ofIntegrationScenarioDefinition.getIntegrationScenarioBase(String compositeProcessID) Get list of allOutboundConnectorDefinition.getOutboundConnectorsByScenarioId(String scenarioId) Get list ofOutboundConnectorDefinitionby id ofIntegrationScenarioDefinition.getProvidersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the providers for a scenario, they can be eitherCompositeProcessDefinitionorInboundConnectorDefinitiongetScenarioById(String scenarioId) GetIntegrationScenarioDefinitionby its id.voidregisterClassForOnException(org.apache.camel.model.OnExceptionDefinition key, String className) Registers the class with givenclassNamefor onException handling
- 
Method Details- 
getScenarioByIdGetIntegrationScenarioDefinitionby its id.- Parameters:
- scenarioId- is its id
- Returns:
- Integration scenario
 
- 
getConnectorByIdGetConnectorDefinitionby its id.- Parameters:
- connectorId- is its id
- Returns:
- Optional connector
 
- 
getInboundConnectorsList<InboundConnectorDefinition> getInboundConnectors()Get list of allInboundConnectorDefinition.- Returns:
- all inbound connectors
 
- 
getOutboundConnectorsList<OutboundConnectorDefinition> getOutboundConnectors()Get list of allOutboundConnectorDefinition.- Returns:
- all outbound connectors
 
- 
getInboundConnectorsByScenarioIdGet list ofInboundConnectorDefinitionby id ofIntegrationScenarioDefinition.- Parameters:
- scenarioId- is its id
- Returns:
- inbound connectors
 
- 
getOutboundConnectorsByScenarioIdGet list ofOutboundConnectorDefinitionby id ofIntegrationScenarioDefinition.- Parameters:
- scenarioId- is its id
- Returns:
- outbound connectors
 
- 
getCompositeProcessConsumerDefinitionsList<IntegrationScenarioDefinition> getCompositeProcessConsumerDefinitions(String compositeProcessID) Returns consumers of the composite process as defined in the annotationCompositeProcess- Parameters:
- compositeProcessID- id of the process
- Returns:
- List of IntegrationScenarioDefinition
 
- 
getCompositeProcessProviderDefinitionReturns provider of the composite process as defined in the annotationCompositeProcess- Parameters:
- compositeProcessID- id of the process
- Returns:
- IntegrationScenarioDefinition
 
- 
getIntegrationScenarioBase
- 
getCompositeProcessProvidersForScenarioList<CompositeProcessDefinition> getCompositeProcessProvidersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the processes that are providers for a scenario.- Parameters:
- integrationScenario- that the processes provide to
- Returns:
- List of CompositeProcessDefinition
 
- 
getCompositeProcessConsumersForScenarioList<CompositeProcessDefinition> getCompositeProcessConsumersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the processes that are consumers from a scenario.- Parameters:
- integrationScenario- that the processes consumes from
- Returns:
- List of CompositeProcessDefinition
 
- 
getProvidersForScenarioList<IntegrationScenarioProviderDefinition> getProvidersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the providers for a scenario, they can be eitherCompositeProcessDefinitionorInboundConnectorDefinition- Parameters:
- integrationScenario- that are being provided to
- Returns:
- List of IntegrationScenarioProviderDefinition
 
- 
getConsumersForScenarioList<IntegrationScenarioConsumerDefinition> getConsumersForScenario(IntegrationScenarioDefinition integrationScenario) Returns all the consumers for a scenario, they can be eitherCompositeProcessDefinitionorOutboundConnectorDefinition- Parameters:
- integrationScenario- that are being consumed from
- Returns:
- List of IntegrationScenarioProviderDefinition
 
- 
registerClassForOnExceptionvoid registerClassForOnException(org.apache.camel.model.OnExceptionDefinition key, String className) Registers the class with givenclassNamefor onException handling- Parameters:
- key- Exception definition key
- className- Class to register
 
 
-