This method adds a ScheduledCommand's configuration object to the list of CommandConfigs that this Schedule
needs to initialize all the ScheduledCommands that it must execute.
This method adds an input layout manager to the HashMap of input layout managers
associated to the object that will be initialized using this configuration object.
This method adds an output layout manager to the HashMap of output layout managers
associated to the object that will be initialized using this configuration object.
This method is used as the EnterprsieFields object builds a Field's EnterpriseFormatter
to add an EnterpriseScrubber implmentation that's specified in the EnterpriseObjects document
to the Field's Formatter.
This constructor might be used if an application has already parsed the deployment document and found
the configuration Element associated to the application.
This method allows application developers to build an object from
a XML String representation of an object that was previously converted
to an XML String via the toXmlString() method.
This method allows application developers to build an object from
a XML String representation of an object that was previously converted
to an XML String via the toXmlString() method.
Using the currently assigned output layout manager, this method
uses the current contents of the object and builds an output object as
implemented by the layout manager.
Using the currently assigned output layout manager, this method
uses the current contents of the object and builds an output object as
implemented by the layout manager for the specified application name.
Using the currently assigned output layout manager, this method
uses the current contents of the object and builds an output object as
implemented by the layout manager.
Using the currently assigned output layout manager, this method
uses the current contents of the object and builds an output object as
implemented by the layout manager for the specified application name.
Deprecated. Using the current contents of the 'keyObject' passed in along with the 'primed' XML document
this method builds the acutal Enterprise Message.
This method is used to build a standard reply document that contains data specified by the
command returning the reply (during it's 'execute' method execution).
This method is used to build a reply document that contains error specified by the
command returning the reply (during it's 'execute' method execution).
This method is used to build a reply document that contains error specified by the
command returning the reply (during it's 'execute' method execution).
A ConsumerConfig is a wrapper class that takes information stored in an
OpenEAI Deployment document (ConsumerConfig Element) and stores it in a Java object.
Constructor - set the Datetime 'type' to be that which is passed in (for the same
reasons as outlined in the String-only constructor) and then instantiate a
Datetime object initial values indicative of the java.util.Date
passed in.
Constructor - set the Datetime 'type' to be that which is passed in (for the same
reasons as outlined in the String-only constructor) and then instantiate a
Datetime object initial values indicative of the long time in milliseconds
passed in.
A DbConnectionPoolConfig is a wrapper class that takes information stored in
an OpenEAI Deployment document (DbConnectionPoolConfig Element) and stores it in a Java object.
This exception is thrown when a Configuration object encounters errors
initializing themselves with information found in the Enterprise configuration
document.
This is the constructor that AppConfig uses when it instantiates an EnterpriseConnectionPool
based on information found in an application's deployment XML document.
This class wraps the EnterpriseObjects XML documents and provides our Enterprise Message
objects with all the information they need to serialized themselves to and from different
formats as well as providing information relating to specific business rules associated
to specific fields contained in the EnterpriseObjects document (formatting, translations etc.).
This exception is potentially thrown when an object attempts to build itself
from or serialize itself to a given format (like xml, extract etc.) if errors
occur during that process.
The execute method that must be implemented by all ScheduledCommand implementations is where the specific
business logic associated to the ScheduledCommand is implemented.
Takes the release number passed in which is generally pulled from a message
passed to a command and converts it into a release number that can be used
for naming conventions in configuration documents.
Uses the EnterpriseFields object associated to this object to convert the enterprise
value passed in to the application specific value based on rules found in the EnterpriseObjects XML
document associated to the object for the application name passed in.
Returns the connection factory name (QueueConnectionFactory or TopicConnectionFactory)
that this Consumer should retrieve and use to initialize its connection to the
broker with.
Returns the connection factory name (QueueConnectionFactory or TopicConnectionFactory)
that this producer should retrieve and use to initialize its connection to the
broker with.
Returns the default paramaters associated to this command as specified in the "Commands" Configuration
Element (the container) in the application's config document.
Returns the default paramaters associated to this Schedule as specified in the "Schedules" Configuration
Element (the container) in the application's config document.
Deprecated. Abstract method that must be implemented by decendants so this object will
know what element it's dealing with when building Xml documents.
Returns the EnterpriseFields object associated to this configuration object
that will in turn be set on the business object being initialized using this
configuration object.
Returns the "enterprise value" that corresponds to the application value passed in based
on formatting rules specified in the EnterpriseObjects document.
Returns the generic response document that this consumer should use to reply to
incomming requests if it has problems executing the command associated to the
request consumed.
Returns the class name of the JNDI context factory that will be used to retrieve the JMS
administered objects from a Directory Server or wherever the administered
objects are stored.
Returns the class name of the JNDI context factory that will be used to retrieve the JMS
administered objects from a Directory Server or wherever the administered
objects are stored.
This method returns the input layout manager that matches the type passed in
or null if that type does not exist in the HashMap of input layout managers associated
to this configuration object.
This method returns the HashMap of all input layout managers that will be associated
to the XmlEnterpriseObject that ultimately gets initialized using this MessageObjectConfig
object.
Returns the Logging Producer associated to this producer which is simply another
PubSubProducer that may be configured in the deployment document to publish
messages published by this producer to a second "logging" destination.
Returns the messageDumpDirectory variable that will be the target of the writeMessageToFile call if
the command needs to write the incoming message to a file.
This method returns the output layout manager that matches the type passed in
or null if that type does not exist in the HashMap of output layout managers associated
to this configuration object.
This method returns the HashMap of all output layout managers that will be associated
to the XmlEnterpriseObject that ultimately gets initialized using this MessageObjectConfig
object.
Returns the LDAP security credentials (password) this consumer should use when connecting
to the directory server to retrieve JMS administered objects
(ConnectionFactories and Destinations).
Returns the LDAP security credentials (password) this producer should use when connecting
to the directory server to retrieve JMS administered objects
(ConnectionFactories and Destinations).
Returns the LDAP security principal this consumer should use when connecting
to the directory server to retrieve JMS administered objects
(ConnectionFactories and Destinations).
Returns the LDAP security principal this producer should use when connecting
to the directory server to retrieve JMS administered objects
(ConnectionFactories and Destinations).
Method is used by the EnterpriseFields object to determine in what order scrubbers should
be executed if a field has more than one scrubber associated to it.
Returns a boolean indicating whether or not this consumer should be started
(connected to the broker and ready to consume messages) when it is initialized.
Returns a boolean indicating whether or not this producer should be started
(connected to the broker and ready to produce messages) when it is initialized.
Returns the Sync-Error-Sync primed Document object built from the
SyncErrorSyncPrimedDocument URI that will be used as
the primed sync error sync Document used as a starting point
when publishing Sync errors.
Returns the SyncErrorSync primed document that will be used if this ScheduledCommand
needs to publish a Sync-Error-Sync messages if errors occur during the execution of
the command.
Returns the Sync-Error-Sync primed document URI that will be used to build
the primed sync error sync Document used as a starting point when publishing
Sync errors.
Returns the translation type that should be used when converting from application specific to enterprise value as specified
in the application's deployment document and that is associated to the message object being configured.
Convenience method used by layout manager implementations to retrieve data from
a repeating field (of type Element or Attribute) on a parent object for a particular application.
This method is called by AppConfig as it reads through the deployment document and
parses Configuration information for each object that will be held by AppConfig.
Takes the Properties object contained within the ConsumerConfig object passed
to the constructor of this consumer and sets all the appropriate instance variables
on this consumer during initialization.
Takes the Properties object contained within the ProducerConfig object passed
to the constructor of this Producer and sets all the appropriate instance variables
on this producer during initialization.
Method used to initialize the LayoutMangager implementation with information found in the EnterpriseObjects
document associated to the object being initialized.
Calls the initSyncCommands() method that will retrieve all SyncCommands from
the ConsumerConfig object passed to the constructor and initialize those commands
making them available for use.
Calls the MessageConsumer initializeConsumer method to initialize
any SyncCommands that this consumer may need to execute, then it
initializes all RequestCommands associated to this consumer.
Iterates through all RequestCommands that were listed in the CommandConfig objects
associated to this Consumer in its deployment document and instantiates those
RequestCommands by calling the addRequestCommand method.
Iterates through all SyncCommands that were listed in the CommandConfig objects
associated to this Consumer in its deployment document and instantiates those
SyncCommands by calling the addSyncCommand method.
This method is also used as the EnterprsieFields object builds a Field's EnterpriseFormatter
to add an EnterpriseScrubber implmentation that's specified in the EnterpriseObjects document
to the Field's Formatter.
Convenience method used by layout manager implementations to instantiate child objects
that need to be built from the input passed to them and added to the parent object being built.
This exception may be thrown when an object is attempting to set a value
on a specific field and the value being passed is ran through the EnterpriseFormatter.
Returns a boolean value that indicates if this command is the "absolute" command the consumer
instantiating this command should execute no matter what "COMMAND_NAME" is specified in the JMS Message
it consumes.
Returns a boolean value that indicates if this command is the "default" command the consumer
instantiating this command should execute if no "COMMAND_NAME" is specified in the JMS Message
it consumes.
A LoggerConfig is a wrapper class that takes information stored in an OpenEAI
Deployment document (LoggerConfig Element) and stores it in a Java object.
As AppConfig reads through an application's deployment document, it will build a
MailServiceConfig Java object and pass that object to this constructor.
A MailServiceConfig is a wrapper class that takes information stored in an
OpenEAI Deployment document (MailServiceConfig Element) and stores it in a Java object.
A MessageObjectConfig is a wrapper class that takes information stored in an
OpenEAI Deployment document (MessageObjectConfig Element) and stores it in a Java object.
This Thread will sleep for a specified period of time and then wake up
and check the status of the consumer by attempting to create/delete a TemporaryQueue.
A ProducerConfig is a wrapper class that takes information stored in an
OpenEAI Deployment document (ProducerConfig Element) and stores it in a Java object.
A PropertyConifg is a wrapper class that takes information stored in an
OpenEAI Deployment document (PropertyConfig Element) and stores it in a Java object.
This Thread will sleep for a specified period of time and then wake up
and check the status of the consumer by attempting to create/delete a TemporaryTopic.
A ScheduledAppConfig is a wrapper class that takes information stored in an
OpenEAI Deployment document (ScheduleAppConfig Element) and stores it in a Java object.
Sets the boolean value that indicates if this command is the "absolute" command the consumer
instantiating this command should execute no matter what "COMMAND_NAME" is specified in the JMS Message
it consumes.
Sets the connection factory name (QueueConnectionFactory or TopicConnectionFactory)
that this Consumer should retrieve and use to initialize its connection to the
broker with.
Sets the connection factory name (QueueConnectionFactory or TopicConnectionFactory)
that this producer should retrieve and use to initialize its connection to the
broker with.
Sets the boolean value that indicates if this command is the "default" command the consumer
instantiating this command should execute if no "COMMAND_NAME" is specified in the JMS Message
it consumes.
Sets the default paramaters associated to this command as specified in the "Commands" Configuration
Element (the container) in the application's config document.
Sets the default paramaters associated to this Schedule as specified in the "Schedules" Configuration
Element (the container) in the application's config document.
Sets the EnterpriseFields object on this configuration object that will be
ultimately used by the acutal business object that gets initialized with this
configuration object.
Sets the generic response document that this consumer should use to reply to
incomming requests if it has problems executing the command associated to the
request consumed.
Sets the flag indicating whether or not this EnterpriseFields object will be allowed to work if some of the object
definitions specified in an objects definition are missing from the EnterpriseObjects document.
Sets the boolean indicator which will be used to determine whether or not this command should validate the Xml Document
it creates from the JMS message that it receives.
Sets the class name of the JNDI context factory that will be used to retrieve the JMS
administered objects from a Directory Server or wherever the administered
objects are stored.
Sets the class name of the JNDI context factory that will be used to retrieve the JMS
administered objects from a Directory Server or wherever the administered
objects are stored.
Sets the Logging Producer associated to this producer which is simply another
PubSubProducer that may be configured in the deployment document to publish
messages published by this producer to a second "logging" destination.
Sets the maximum amount of time (in milliseconds) that the consumer will
wait for the ThreadPool to empty when the consumer's shutdown hook is
triggered.
Sets the messageDumpDirectory variable that will be the target of the writeMessageToFile call if
the command needs to write the incoming message to a file.
Sets the LDAP security credentials (password) this consumer should use when connecting
to the directory server to retrieve JMS administered objects
(ConnectionFactories and Destinations).
Sets the LDAP security credentials (password) this producer should use when connecting
to the directory server to retrieve JMS administered objects
(ConnectionFactories and Destinations).
Sets the LDAP security principal this consumer should use when connecting
to the directory server to retrieve JMS administered objects
(ConnectionFactories and Destinations).
Sets the LDAP security principal this producer should use when connecting
to the directory server to retrieve JMS administered objects
(ConnectionFactories and Destinations).
Sets a boolean indicating whether or not this consumer should be started
(connected to the broker and ready to consume messages) when it is initialized.
Sets a boolean indicating whether or not this producer should be started
(connected to the broker and ready to produce messages) when it is initialized.
Sets the Sync-Error-Sync primed Document object built from the
SyncErrorSyncPrimedDocument URI that will be used as
the primed sync error sync Document used as a starting point
when publishing Sync errors.
Sets the SyncErrorSync primed document that will be used if this ScheduledCommand
needs to publish a Sync-Error-Sync messages if errors occur during the execution of
the command.
Sets the Sync-Error-Sync primed document URI that will be used to build
the primed sync error sync Document used as a starting point when publishing
Sync errors.