@Deprecated public final class EDAOrchestrator extends java.lang.Object implements JMSReceiverSubscriber, EDAOrchestratorInterface, Orchestrator
Constructor and Description |
---|
EDAOrchestrator()
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
EDAOrchestrator(com.softwareag.eda.webm.configuration.ConfigEDAOrchestrator configEDAOrchestrator)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
EDAOrchestrator(java.io.File fileConfigEDAOrchestrator)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
EDAOrchestrator(java.lang.String filepathConfigEDAOrchestrator)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
Modifier and Type | Method and Description |
---|---|
com.softwareag.eda.webm.configuration.ConfigEDAOrchestrator |
getConfigEDAOrchestrator()
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
java.lang.String |
getDefaultDestinationName(EventType eventType)
Deprecated.
Returns the default JNDI Destination based on the event type object.
|
java.lang.String |
getDefaultDestinationName(javax.xml.namespace.QName eventTypeQName)
Deprecated.
Returns the default JNDI Destination based on the event type name
|
EventTypeArtifact |
getEventTypeArtifact(javax.xml.namespace.QName eventTypeQName)
Deprecated.
Returns the event type artifact for the eventTypeQName.
|
java.util.concurrent.ConcurrentHashMap<javax.xml.namespace.QName,EventTypeArtifact> |
getEventTypeArtifacts()
Deprecated.
Returns the current inventory of event types.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getFilterableProperties(javax.xml.namespace.QName eventTypeQName,
java.lang.String xml)
Deprecated.
Returns a hashmap containing the filterable properties for the specified
event type and xml
|
void |
onMessage(MessageListener msgCB,
javax.jms.Message message,
java.lang.String destinationName,
java.lang.String eventTypeName)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
onMessage(javax.jms.Message message,
java.lang.String destinationName,
java.lang.String eventTypeName)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
printInternals()
Deprecated.
Logs output showing the contents of the internal maps
|
void |
publish(EventType eventType,
java.lang.String xml)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
publish(EventType eventType,
java.lang.String destinationName,
java.lang.String xml)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
publish(javax.xml.namespace.QName eventTypeQName,
java.lang.String xml)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
publish(javax.xml.namespace.QName eventTypeQName,
java.lang.String destinationName,
java.lang.String xml)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
publish(java.lang.String destinationName,
javax.xml.bind.JAXBContext context,
com.softwareag.eda.event.Event event)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
publishEventTypeDeploymentChange(javax.xml.namespace.QName eventTypeQName)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
publishNoMsgSelectors(java.lang.String destinationName,
java.lang.String xml)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
registerEventType(EventType eventType)
Deprecated.
Registers an event type passed as an Event Type object
|
void |
registerEventType(javax.xml.namespace.QName qName)
Deprecated.
Registers an event type passed as an Event Type QName
|
void |
registerEventType(java.lang.String componentPath)
Deprecated.
Registers an event type passed as a componentPath
|
void |
registerEventTypesInEventTypeStore()
Deprecated.
Registers event types found in the Event Type Store
This method loads all the xsd files found in the Event Type Store folder and registers all xsds evaluated to be a event type. |
void |
registerEventTypesInFolder(java.lang.String eventTypeFolderPath,
boolean recurse)
Deprecated.
Registers event types found in a folder
This method loads all the xsd files found in the folder and registers all xsds evaluated to be a event type. |
void |
release()
Deprecated.
Releases all sessions currently avalaible in this Orchestrator.
|
void |
restart()
Deprecated.
Restarts the current Orchestrator by leaving the current connections with the old settings active.
|
boolean |
subscribe(MessageListener msgCB,
java.lang.String destinationName,
java.lang.String messageSelector)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
boolean |
subscribe(MessageListener msgCB,
java.lang.String destinationName,
java.lang.String messageSelector,
javax.jms.ExceptionListener exceptionListener)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
testJNDIConnection()
Deprecated.
|
void |
unsubscribe(MessageListener msgCB,
java.lang.String destinationName,
boolean refresh)
Deprecated.
The entire class is deprecated. See deprecation notice for
EDAOrchestrator . |
void |
validateXML(javax.xml.namespace.QName eventTypeQName,
java.lang.String xml)
Deprecated.
Validates that msgSelectors can be obtained using the event type and XML
string
|
void |
validateXML(javax.xml.namespace.QName eventTypeQName,
java.net.URL url)
Deprecated.
Validates that msgSelectors can be obtained using the event type and XML
URL
|
void |
validateXSD(java.net.URL url)
Deprecated.
Validates that a XSD can be converted into an internal Event Type
|
@Deprecated public EDAOrchestrator(com.softwareag.eda.webm.configuration.ConfigEDAOrchestrator configEDAOrchestrator)
EDAOrchestrator
.configEDAOrchestrator
- ConfigEDAOrchestrator object@Deprecated public EDAOrchestrator(java.io.File fileConfigEDAOrchestrator)
EDAOrchestrator
.fileConfigEDAOrchestrator
- File containing XML instance of ConfigEDAOrchestrator object@Deprecated public EDAOrchestrator(java.lang.String filepathConfigEDAOrchestrator)
EDAOrchestrator
.filepathConfigEDAOrchestrator
- String file path to file containing XML instance of
ConfigEDAOrchestrator object@Deprecated public EDAOrchestrator()
EDAOrchestrator
.Uses SystemProperty called edaO.configuration or then default config path
public void restart() throws EventTypeStoreException
Orchestrator
restart
in interface Orchestrator
EventTypeStoreException
public void testJNDIConnection()
testJNDIConnection
in interface Orchestrator
public void registerEventTypesInEventTypeStore()
This method loads all the xsd files found in the Event Type Store folder and registers all xsds evaluated to be a event type. Folder search is recursive.
registerEventTypesInEventTypeStore
in interface Orchestrator
public void registerEventTypesInFolder(java.lang.String eventTypeFolderPath, boolean recurse)
This method loads all the xsd files found in the folder and registers all xsds evaluated to be a event type. Folder search can be recursive.
eventTypeFolderPath
- Folder containing the schemas to extract and registerrecurse
- Recursive folder search option@Deprecated public boolean subscribe(MessageListener msgCB, java.lang.String destinationName, java.lang.String messageSelector)
EDAOrchestrator
.subscribe
in interface Orchestrator
msgCB
- the class implementing the EDAOrchestraorInterfacedestinationName
- the name of the JMS Destination to subscribe tomessageSelector
- optional - used to filter messages based on filterable
attributes of the event (as defined in the event type XSD)@Deprecated public boolean subscribe(MessageListener msgCB, java.lang.String destinationName, java.lang.String messageSelector, javax.jms.ExceptionListener exceptionListener)
EDAOrchestrator
.subscribe
in interface Orchestrator
msgCB
- the class implementing the EDAOrchestraorInterfacedestinationName
- the name of the JMS Destination to subscribe tomessageSelector
- optional - used to filter messages based on filterable
attributes of the event (as defined in the event type XSD)exceptionListener
- optional - listener asynchronously called by the jms provider
if a problem with the connection is detected@Deprecated public void unsubscribe(MessageListener msgCB, java.lang.String destinationName, boolean refresh)
EDAOrchestrator
.unsubscribe
in interface Orchestrator
msgCB
- the class implementing the EDAOrchestraorInterfacedestinationName
- the name of the JMS Destination to subscribe torefresh
- optional - states whether the unsubscribe will be replaced
with a subscribe@Deprecated public void onMessage(MessageListener msgCB, javax.jms.Message message, java.lang.String destinationName, java.lang.String eventTypeName) throws javax.jms.JMSException
EDAOrchestrator
.onMessage
in interface JMSReceiverSubscriber
javax.jms.JMSException
@Deprecated public void onMessage(javax.jms.Message message, java.lang.String destinationName, java.lang.String eventTypeName)
EDAOrchestrator
.onMessage
in interface MessageListener
message
- the message to be delivereddestinationName
- the name of the topic to which the message was senteventTypeName
- the name of the event type@Deprecated public void publish(javax.xml.namespace.QName eventTypeQName, java.lang.String destinationName, java.lang.String xml)
EDAOrchestrator
.publish
in interface Orchestrator
eventTypeQName
- the event type Qname found in the eventTypeCache event type.
event type must be registered before use.destinationName
- the name of the JNDI Destination to use for announcementxml
- the event instance in XML format. This XML must comply with
the related event type format found in the eventTypeCache.@Deprecated public void publish(javax.xml.namespace.QName eventTypeQName, java.lang.String xml)
EDAOrchestrator
.publish
in interface Orchestrator
eventTypeQName
- the event type name found in the eventTypeCache event type.
event type must be registered before use.xml
- the event instance in XML format. This XML must comply with
the related event type format found in the eventTypeCache.@Deprecated public void publish(EventType eventType, java.lang.String destinationName, java.lang.String xml)
EDAOrchestrator
.publish
in interface Orchestrator
eventType
- event type object represented in the xmldestinationName
- the name of the JNDI Destination to use for announcementxml
- the event instance in XML format. This XML must comply with
the related event type format found in the eventTypeCache.@Deprecated public void publish(EventType eventType, java.lang.String xml)
EDAOrchestrator
.publish
in interface Orchestrator
eventType
- event type object represented in the xmlxml
- the event instance in XML format. This XML must comply with
the related event type format found in the eventTypeCache.@Deprecated public void publishNoMsgSelectors(java.lang.String destinationName, java.lang.String xml) throws java.lang.Exception
EDAOrchestrator
.publishNoMsgSelectors
in interface Orchestrator
destinationName
- the name of the JNDI Destination to use for announcementxml
- the event instance in XML format. This XML must comply with
the related event type format found in the eventTypeCache.java.lang.Exception
- ???@Deprecated public void publish(java.lang.String destinationName, javax.xml.bind.JAXBContext context, com.softwareag.eda.event.Event event)
EDAOrchestrator
.publish
in interface Orchestrator
destinationName
- the name of the JNDI Destination to use for announcementcontext
- JAXBContext of event - should include class name of Event and
the event
- the event instance in event object format. This event type
must be registered in the eventTypeCache first.public void validateXSD(java.net.URL url)
url
- the URL location of the file to be validatedpublic void validateXML(javax.xml.namespace.QName eventTypeQName, java.net.URL url)
eventTypeQName
- the event type Qname found in the eventTypeCache event type.
event type must be registered before use.url
- the URL location of the file to be validatedpublic void validateXML(javax.xml.namespace.QName eventTypeQName, java.lang.String xml)
eventTypeQName
- the event type Qname found in the eventTypeCache event type.
event type must be registered before use.xml
- String containing the XML to validatepublic java.util.HashMap<java.lang.String,java.lang.String> getFilterableProperties(javax.xml.namespace.QName eventTypeQName, java.lang.String xml)
eventTypeQName
- the event type name found in the eventTypeCache event type.
event type must be registered before use.xml
- the event instance in XML format. This XML must comply with
the related event type format found in the eventTypeCache.public java.lang.String getDefaultDestinationName(javax.xml.namespace.QName eventTypeQName)
getDefaultDestinationName
in interface Orchestrator
eventTypeQName
- the event type Qname found in the eventTypeCache event type.
event type must be registered before use.public java.lang.String getDefaultDestinationName(EventType eventType)
Orchestrator
getDefaultDestinationName
in interface Orchestrator
eventType
- ?@Deprecated public void publishEventTypeDeploymentChange(javax.xml.namespace.QName eventTypeQName) throws java.lang.Exception
EDAOrchestrator
.This is a special event type and instances do not comply with EDA event instance standards
publishEventTypeDeploymentChange
in interface Orchestrator
eventTypeQName
- java.lang.Exception
public void printInternals()
public com.softwareag.eda.webm.configuration.ConfigEDAOrchestrator getConfigEDAOrchestrator()
EDAOrchestrator
.getConfigEDAOrchestrator
in interface Orchestrator
public EventTypeArtifact getEventTypeArtifact(javax.xml.namespace.QName eventTypeQName)
Orchestrator
getEventTypeArtifact
in interface Orchestrator
eventTypeQName
- ?public java.util.concurrent.ConcurrentHashMap<javax.xml.namespace.QName,EventTypeArtifact> getEventTypeArtifacts()
Orchestrator
getEventTypeArtifacts
in interface Orchestrator
public void registerEventType(EventType eventType)
registerEventType
in interface Orchestrator
eventType
- event type object to be registeredpublic void registerEventType(javax.xml.namespace.QName qName) throws java.lang.Exception
registerEventType
in interface Orchestrator
qName
- qname to the event type to be registeredjava.lang.Exception
public void registerEventType(java.lang.String componentPath) throws java.lang.Exception
registerEventType
in interface Orchestrator
componentPath
- componentPath to the event type to be registeredjava.lang.Exception
public void release() throws java.lang.Exception
release
in interface Orchestrator
java.lang.Exception
- ?