Package com.adaptris.core
The main Interlok package.
-
Interface Summary Interface Description AbstractMarshaller.Deserializer AbstractMarshaller.Serializer AdaptrisComponent Base interface for components in the framework.AdaptrisConnection Represents a connection to an application or of a protocol type.AdaptrisMarshaller Defines methods required to 'marshal' Java objects to XML.AdaptrisMarshaller.MarshalInputStream AdaptrisMarshaller.MarshalOutputStream AdaptrisMessage Represents a message in the framework.AdaptrisMessageConsumer Implementations ofAdaptrisMessageConsumer
obtain data, convert it into anAdaptrisMessage
and pass the message to the registeredAdaptrisMessageListener
.AdaptrisMessageEncoder<T,S> Implementations ofAdaptrisMessageEncoder
create representations of wholeAdaptrisMessage
s, including metadata and unique ID.AdaptrisMessageListener Applies arbitrary processing toAdaptrisMessage
s.AdaptrisMessageProducer Implementations ofAdaptrisMessageProducer
produce messages to a destination (such as a JMS Queue or file system directory).AdaptrisMessageSender New interface so that we can re-use producer style functionality without all the additional requirements surrounds AdaptrisMessageWorker.AdaptrisMessageTranslator Base interface for translating messages to and from AdaptrisMessage instances.AdaptrisMessageWorker Defines behaviour common toAdaptrisMessageConsumer
andAdaptrisMessageProducer
.AdaptrisPollingConsumer.LockOperator ChannelLifecycleStrategy Strategy for handling channel lifecycle within aChannelList
.ComponentLifecycle Defines standard lifecycle operations for components in the framework.ComponentLifecycleExtension Extensions on the standard component lifecycle.ComponentState Defines the state transition requests that can be made to aStateManagedComponent
.ConfigComment Provides the ability for the UI to have notes associated with an configuration item.ConnectedService An interface that represents aService
that contains a connection.ConnectionErrorHandler Implementations of this class encapsualte behaviour that is invoked when anException
relating to a connection is encountered.DefaultFailedMessageRetrierJmxMBean JMX Interface forDefaultFailedMessageRetrier
DynamicPollingTemplate.TemplateProvider Marker interface so that not all services can be configured.ErrorHandlerRegistrar ErrorHandlerRegister
EventHandler Defines behaviour related to sending and receivingEvent
s using other standard framework components.EventHandlerAware Marker interface indicating that this component needs to be made aware of the EventHandler.FailedMessageRetrier Component which consumes AdaptrisMessages and, based on message metadata, resubmits them to the Workflow which processed them originally.FileNameCreator Creates a file name for anAdaptrisMessage
.IORunnable LoggableEvent MessageEventGenerator Implemented by classes which generate message lifecycle events.MessageLogger MetadataLogger MultiPayloadAdaptrisMessage Interface for Adaptris messages that support multiple payloads, referenced by an ID/key.OutOfStateHandler Implementations will be able to test if aStateManagedComponent
is in the expected state.Poller Schedules polling forAdaptrisPollingConsumer
s.PollerImp.Callback PollingTrigger.MessageProvider How to generate the template that will be sent to the workflow.ProcessingExceptionHandler Standard interface for handling errors during processing of a message.ProduceExceptionHandler Implementations are pluggable responses toProduceException
s in aWorkflow
.RetryMessageErrorHandlerMonitorMBean SerializableMessageTranslator Service Implementations ofService
apply aribtrary functionality toAdaptrisMessage
s.ServiceCollection Defines behaviour common to collections ofService
s.ServiceWrapper A marker interface for Services that wrap other services.SharedComponentLifecycleStrategy Strategy for handling connection lifecycle within aSharedComponentList
.StateManagedComponent Specifies methods for components which manage state transitions.StateManagedComponentContainer Extension toStateManagedComponent
used for fine grained state transitions.Workflow Workflow
s link anAdaptrisMessageConsumer
, aServceCollection
and anAdaptrisMessageProducer
.WorkflowInterceptor Interface for intercepting messages as they enter and exit a workflow.WorkflowLifecycleStrategy Strategy for handling workflow lifecycle within aWorkflowList
. -
Class Summary Class Description AbstractMarshaller Abstract implementation of AdaptrisMarshaller.Adapter Main class incore
package.AdapterLifecycleEvent Contains behaviour common to allEvents
in the framework which relate to anAdapter
's lifecycle.AdapterMarshallerFactory 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.AdapterStartUpEvent Concrete implementations of thisEvent
contains details of theAdapter
configuration.AdapterStateSummary AdapterXStreamMarshallerFactory XStream Marshaller Specific Factory class.AdaptrisConnectionImp Contains behaviour common to implementations ofAdaptrisConnection
.AdaptrisMessageConsumerImp Implementation of behaviour common toAdaptrisMessageConsumer
s.AdaptrisMessageEncoderImp<T,S> Partial implementation of behaviour commom to allAdaptrisMessageEncoder
instances.AdaptrisMessageFactory Astatic
factory which returns implementations ofAdaptrisMessage
.AdaptrisMessageImp Standard implementation ofAdaptrisMessage
interface.AdaptrisMessageProducerImp Implementation of behaviour common toAdaptrisMessageProducer
s.AdaptrisMessageWorkerImp Implementation of behaviour common toAdaptrisMessageConsumer
andAdaptrisMessageProducer
.AdaptrisPollingConsumer AddPayloadService Add a new payload to the message.AllowsRetriesConnection Abstract class for connections that have the ability to retry connections.BranchingServiceCollection Implementation ofServiceCollection
which allowsbranching
services to select the next service to apply.BranchingServiceImp Contains behaviour common toBranchingService
s.Channel Links twoAdaptrisConnection
implementations and has aWorkflowList
ChannelCloseErrorHandler ConnectionErrorHandler
which shutdowns the channel where there is a problem.ChannelList Container for a collection ofChannel
objectsChannelRestartProduceExceptionHandler Implementation ofProduceExceptionHandler
which attempts to restart the parentChannel
of theWorkflow
that had the failure.CloneMessageServiceList Implementation of ServiceCollection that creates a new clone of AdaptrisMessage for each configured service.ClosedState Represents closedStateManagedComponent
s and implements permitted transitions.ComponentStateImp Default implementation ofComponentState
.ConnectionErrorHandlerImp Behaviour common toConnectionErrorHandler
s.CoreConstants Constants for thecore
package.DefaultAdapterStartUpEvent Deprecated. DefaultAdaptrisMessageImp AdaptrisMessage
implementation created byDefaultMessageFactory
DefaultChannelLifecycleStrategy Default strategy for starting channels.DefaultEventHandler Basic implementation ofEventHandler
.DefaultFailedMessageRetrier Implementation ofFailedMessageRetrier
that does not allow duplicate workflows.DefaultFailedMessageRetrierJmx DefaultMarshaller Convenience for getting the default marshalling system currently available in the adapter.DefaultMessageFactory The default factory which returns implementations ofAdaptrisMessage
.DefaultMessageLogger MessageLogger implementation that that logs unique-id and metadata.DefaultSerializableMessageTranslator DefaultWorkflowLifecycleStrategy Default strategy for starting workflows.DynamicPollingTemplate Provides a template forPollingTrigger
.DynamicSharedService A Service instance that references a Service made available viaSharedComponentList.getServices()
.Event Contains behaviour common to allEvent
s in the framework.EventFactory Static factory which createsEvent
s.EventHandlerBase Contains behaviour common to implementations ofEventHandler
.EventNameSpaceConstants All concrete subclasses ofEvent
should define there own 'name space' or hierarchical name, thus allowing interested parties to subscribe forEvent
s selectively.FailedMessageRetrierImp Component which consumesAdaptrisMessage
s and, based on message metadata, resubmits them to theWorkflow
which processed them originally.FixedIntervalPoller Implementation ofPoller
which polls at a configurable fixed interval.FormattedFilenameCreator Implementation of FileNameCreator that usesString.format(String, Object...)
.GaussianIntervalPoller Implementation of Poller which polls at a random interval with a normal distribution.HeartbeatEvent StandardAdapter
heartbeat event.InitialisedState Represents initialisedStateManagedComponent
s and implements permitted transitions.JndiContextFactory ListenerCallbackHelper MessageLifecycleEvent Container for message lifecycle events (MleMarker
s) for implementations ofAdaptrisMessage
.MessageLoggerImpl MetadataCollection A container class for handling aCollection
ofMetadataElement
instance.MetadataElement A key-value pair ofString
metadata.MetadataFileNameCreator Implementation ofFileNameCreator
which obtains the file name to use from message metadata.MimeEncoder Implementation ofAdaptrisMessageEncoder
that storesAdaptrisMessage
payload and metadata as a mime-encoded multipart message.MimeEncoderImpl<T,S> MleMarker Records information about activities (generallyService
implementations) performed on aAdaptrisMessage
during a workflow.MultiPayloadAdaptrisMessageImp The standard implementation of multi-payload messages;MultiPayloadAdaptrisMessage
implementation created byMultiPayloadMessageFactory
.MultiPayloadMessageFactory The multi-payload message factory which returns an implementations ofMultiPayloadAdaptrisMessage
.MultiPayloadMessageMimeEncoder Multi-payload message MIME encoder.MultiProducerWorkflow Implementation ofWorkflow
that contains multiple producers.NoOpConnection Base Implementation of a no-op connection.NoRetries This is a dummy for marshalling purposes.NullConnection No Op connectionNullConnectionErrorHandler Implementation ofConnectionErrorHandler
for use with polling consumers where you do not want an Exception thrown back to run to re-init the Channel.NullMessageConsumer Null implementation ofAdaptrisMessageConsumer
.NullMessageProducer Null implementation ofAdaptrisMessageProducer
.NullOutOfStateHandler Implementation of theOutOfStateHandler
which does no checks.NullProcessingExceptionHandler Null implementation of Processing Exceptions.NullProduceExceptionHandler Null implementation ofProduceExceptionHandler
which logs a message only.NullService Null implementation ofService
.OutOfStateHandlerImp Abstract implementation of theOutOfStateHandler
.PollerImp Partial implementation ofPoller
.PollingTrigger Periodically sends a template message to trigger aWorkflow
PoolingWorkflow A Workflow that pools ServiceCollections.ProduceExceptionHandlerImp Implementation of behaviour common toProduceExceptionHandler
instancesProduceOnlyProducerImp Convenience class that only supports produce rather than request.QuartzCronPoller Implementation ofPoller
which provides cron style scheduled polling based on the Quartz project.QuartzCronPoller.MyProcessJob RaiseExceptionOutOfStateHandler This implementation of theOutOfStateHandler
will simply throw anOutOfStateException
every time when aStateManagedComponent
is not in the correct/expected state.RandomIntervalPoller Implementation of Poller which polls at a random interval with a delay between each execution of up-to the configured poll interval (in ms).RequestReplyProducerBase Abstract Request Reply enabled producer that may be extended by concrete sub-classes.RequestReplyProducerImp Abstract Request Reply enabled producer that may be extended by concrete sub-classes.RequestReplyWorkflow Implementation ofWorkflow
to handle synchronous replies.ResolveFromPayloadUsingXPath RestartProduceExceptionHandler Deprecated. since 3.10.2RetryMessageErrorHandler MessageErrorHandler implementation that allows automatic retries for a problem message.RetryMessageErrorHandlerImp Abstract MessageErrorHandler implementation that allows automatic retries for a problem message.RetryMessageErrorHandlerMonitor RetryOnceStandaloneProducer 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 RootProcessingExceptionHandler which allows you to register a Digester for aggregating information about all the errors that have occurred.ScheduledTaskPoller SerializableAdaptrisMessage The SerializableAdaptrisMessage simply represents an AdaptrisMessage that can be serialized.ServiceCollectionImp Behaviour common toServiceCollection
s.ServiceImp Implementation of default / common behaviour forService
s.ServiceList Implementation ofServiceCollection
with an ordered list ofService
s.ServiceListBase SharedComponent SharedComponentList A common store for components.SharedConnection A connection instance that references a connection made available viaSharedComponentList
.SharedService A Service instance that references a Service made available viaSharedComponentList
.SharedServiceImpl StandaloneConsumer Wrapper class for aAdaptrisMessageConsumer
and aAdaptrisConnection
.StandaloneProducer Wrapper for aAdaptrisConnection
and aAdaptrisMessageProducer
for convenience.StandaloneRequestor StandaloneProducer extension that allows request reply functionality within a serviceStandardProcessingExceptionHandler ProcessingExceptionHandler implementation that contains a single service to apply when a message fails.StandardWorkflow Standard implementation ofWorkflow
.StandardWorkflowImpl StartedState Represents startedStateManagedComponent
s and implements permitted transitions.StaticPollingTemplate Provides a static template forPollingTrigger
.StoppedState Represents stoppedStateManagedComponent
s and implements permitted transitions.SwitchPayloadService Switch the message payload from one payload to another.ThreadContextWorkflow Workflow that executes services in the current thread.WaitingOutOfStateHandler This implementation of theOutOfStateHandler
will simply wait on the current Thread for theStateManagedComponent
to be in the correct/expected state.WorkflowImp Partial implementation ofWorkflow
.WorkflowList Container for a collection ofWorkflow
s.WorkflowWithObjectPool A Workflow that has a object pool of ServiceCollectionsXStreamJsonMarshaller JSON implementation ofAdaptrisMarshaller
using XStream.XStreamMarshaller XStream version ofAdaptrisMarshaller
XStreamMarshallerImpl Abstract XStream version ofAdaptrisMarshaller
-
Enum Summary Enum Description AdapterMarshallerFactory.MarshallingOutput ConfiguredComponentState -
Exception Summary Exception Description CoreException StandardException
in thecore
package and sub-packages.OutOfStateException ProduceException Exception
thrown byAdaptrisMessageProducer
s.ServiceException Exception
thrown byService
s.UnresolvedMetadataException