Package com.adaptris.core
package com.adaptris.core
The main Interlok package.
-
ClassDescriptionAbstract implementation of AdaptrisMarshaller.Main class in
corepackage.Contains behaviour common to allEventsin the framework which relate to anAdapter's lifecycle.Factory Class that creates the required Marshaller ie the DataBinder instance that allows us to marshal & unmarshal our objects eg XStream, Castor etc
This factory also allows the DataBinder to be configured to output to a given format eg JSON/XML.Concrete implementations of thisEventcontains details of theAdapterconfiguration.XStream Marshaller Specific Factory class.Base interface for components in the framework.Represents a connection to an application or of a protocol type.Contains behaviour common to implementations ofAdaptrisConnection.Defines methods required to 'marshal' Java objects to XML.Represents a message in the framework.Implementations ofAdaptrisMessageConsumerobtain data, convert it into anAdaptrisMessageand pass the message to the registeredAdaptrisMessageListener.Implementation of behaviour common toAdaptrisMessageConsumers.Implementations ofAdaptrisMessageEncodercreate representations of wholeAdaptrisMessages, including metadata and unique ID.Partial implementation of behaviour commom to allAdaptrisMessageEncoderinstances.Astaticfactory which returns implementations ofAdaptrisMessage.Standard implementation ofAdaptrisMessageinterface.Applies arbitrary processing toAdaptrisMessages.Implementations ofAdaptrisMessageProducerproduce messages to a destination (such as a JMS Queue or file system directory).Implementation of behaviour common toAdaptrisMessageProducers.New interface so that we can re-use producer style functionality without all the additional requirements surrounds AdaptrisMessageWorker.Base interface for translating messages to and from AdaptrisMessage instances.Defines behaviour common toAdaptrisMessageConsumerandAdaptrisMessageProducer.Implementation of behaviour common toAdaptrisMessageConsumerandAdaptrisMessageProducer.Add a new payload to the message.Abstract class for connections that have the ability to retry connections.Implementation ofServiceCollectionwhich allowsbranchingservices to select the next service to apply.Contains behaviour common toBranchingServices.Links twoAdaptrisConnectionimplementations and has aWorkflowListConnectionErrorHandlerwhich shutdowns the channel where there is a problem.Strategy for handling channel lifecycle within aChannelList.Container for a collection ofChannelobjectsDeprecated.since 4.2.0Implementation of ServiceCollection that creates a new clone of AdaptrisMessage for each configured service.Represents closedStateManagedComponents and implements permitted transitions.Defines standard lifecycle operations for components in the framework.Extensions on the standard component lifecycle.Defines the state transition requests that can be made to aStateManagedComponent.Default implementation ofComponentState.Provides the ability for the UI to have notes associated with an configuration item.An interface that represents aServicethat contains a connection.Implementations of this class encapsualte behaviour that is invoked when anExceptionrelating to a connection is encountered.Behaviour common toConnectionErrorHandlers.Constants for thecorepackage.StandardExceptionin thecorepackage and sub-packages.Deprecated.AdaptrisMessageimplementation created byDefaultMessageFactoryDefault strategy for starting channels.Basic implementation ofEventHandler.Implementation ofFailedMessageRetrierthat does not allow duplicate workflows.JMX Interface forDefaultFailedMessageRetrierConvenience for getting the default marshalling system currently available in the adapter.The default factory which returns implementations ofAdaptrisMessage.MessageLogger implementation that that logs unique-id and metadata.Default strategy for starting workflows.Provides a template forPollingTrigger.Marker interface so that not all services can be configured.A Service instance that references a Service made available viaSharedComponentList.getServices().ErrorHandlerRegisterContains behaviour common to allEvents in the framework.Static factory which createsEvents.Defines behaviour related to sending and receivingEvents using other standard framework components.Marker interface indicating that this component needs to be made aware of the EventHandler.Contains behaviour common to implementations ofEventHandler.All concrete subclasses ofEventshould define there own 'name space' or hierarchical name, thus allowing interested parties to subscribe forEvents selectively.Component which consumes AdaptrisMessages and, based on message metadata, resubmits them to the Workflow which processed them originally.Component which consumesAdaptrisMessages and, based on message metadata, resubmits them to theWorkflowwhich processed them originally.Creates a file name for anAdaptrisMessage.Implementation ofPollerwhich polls at a configurable fixed interval.Implementation of FileNameCreator that usesString.format(String, Object...).Implementation of Poller which polls at a random interval with a normal distribution.StandardAdapterheartbeat event.Represents initialisedStateManagedComponents and implements permitted transitions.Implemented by classes which generate message lifecycle events.Container for message lifecycle events (MleMarkers) for implementations ofAdaptrisMessage.A container class for handling aCollectionofMetadataElementinstance.A key-value pair ofStringmetadata.Implementation ofFileNameCreatorwhich obtains the file name to use from message metadata.Implementation ofAdaptrisMessageEncoderthat storesAdaptrisMessagepayload and metadata as a mime-encoded multipart message.MimeEncoderImpl<T,S> Records information about activities (generallyServiceimplementations) performed on aAdaptrisMessageduring a workflow.Interface for Adaptris messages that support multiple payloads, referenced by an ID/key.The standard implementation of multi-payload messages;MultiPayloadAdaptrisMessageimplementation created byMultiPayloadMessageFactory.The multi-payload message factory which returns an implementations ofMultiPayloadAdaptrisMessage.Multi-payload message MIME encoder.Implementation ofWorkflowthat contains multiple producers.Base Implementation of a no-op connection.This is a dummy for marshalling purposes.No Op connectionImplementation ofConnectionErrorHandlerfor use with polling consumers where you do not want an Exception thrown back to run to re-init the Channel.Null implementation ofAdaptrisMessageConsumer.Null implementation ofAdaptrisMessageProducer.Implementation of theOutOfStateHandlerwhich does no checks.Null implementation of Processing Exceptions.Deprecated.since 4.2.0Null implementation ofService.Implementations will be able to test if aStateManagedComponentis in the expected state.Abstract implementation of theOutOfStateHandler.Schedules polling forAdaptrisPollingConsumers.Partial implementation ofPoller.Periodically sends a template message to trigger aWorkflowHow to generate the template that will be sent to the workflow.A Workflow that pools ServiceCollections.Standard interface for handling errors during processing of a message.Exceptionthrown byAdaptrisMessageProducers.Deprecated.since 4.2.0Deprecated.since 4.2.0Convenience class that only supports produce rather than request.Implementation ofPollerwhich provides cron style scheduled polling based on the Quartz project.This implementation of theOutOfStateHandlerwill simply throw anOutOfStateExceptionevery time when aStateManagedComponentis not in the correct/expected state.Implementation of Poller which polls at a random interval with a delay between each execution of up-to the configured poll interval (in ms).Abstract Request Reply enabled producer that may be extended by concrete sub-classes.Abstract Request Reply enabled producer that may be extended by concrete sub-classes.Implementation ofWorkflowto handle synchronous replies.Deprecated.since 3.10.2MessageErrorHandler implementation that allows automatic retries for a problem message.Abstract MessageErrorHandler implementation that allows automatic retries for a problem message.An implementation of StandaloneProducer that on encountering an error producing a message, waits for a configurable period, re-initialises the underlying components, then tries to produce once one more.RootProcessingExceptionHandler which allows you to register a Digester for aggregating information about all the errors that have occurred.Resolver implementation that resolves and escapes XML content.The SerializableAdaptrisMessage simply represents an AdaptrisMessage that can be serialized.Implementations ofServiceapply aribtrary functionality toAdaptrisMessages.Defines behaviour common to collections ofServices.Behaviour common toServiceCollections.Exceptionthrown byServices.Implementation of default / common behaviour forServices.Implementation ofServiceCollectionwith an ordered list ofServices.A marker interface for Services that wrap other services.Strategy for handling connection lifecycle within aSharedComponentList.A common store for components.A connection instance that references a connection made available viaSharedComponentList.A Service instance that references a Service made available viaSharedComponentList.Wrapper class for aAdaptrisMessageConsumerand aAdaptrisConnection.Wrapper for aAdaptrisConnectionand aAdaptrisMessageProducerfor convenience.StandaloneProducer extension that allows request reply functionality within a serviceProcessingExceptionHandler implementation that contains a single service to apply when a message fails.Standard implementation ofWorkflow.Represents startedStateManagedComponents and implements permitted transitions.Specifies methods for components which manage state transitions.Extension toStateManagedComponentused for fine grained state transitions.Provides a static template forPollingTrigger.Represents stoppedStateManagedComponents and implements permitted transitions.Switch the message payload from one payload to another.Workflow that executes services in the current thread.This implementation of theOutOfStateHandlerwill simply wait on the current Thread for theStateManagedComponentto be in the correct/expected state.Workflows link anAdaptrisMessageConsumer, aServceCollectionand anAdaptrisMessageProducer.Partial implementation ofWorkflow.Interface for intercepting messages as they enter and exit a workflow.Strategy for handling workflow lifecycle within aWorkflowList.Container for a collection ofWorkflows.A Workflow that has a object pool of ServiceCollectionsJSON implementation ofAdaptrisMarshallerusing XStream.XStream version ofAdaptrisMarshallerAbstract XStream version ofAdaptrisMarshaller