public class MessageListenerConfigParserImpl extends Object implements MessageListenerConfigParser
AOR, configParserUtil, ddTransformUtil, MCF, MSL, RA| Constructor and Description |
|---|
MessageListenerConfigParserImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActivationSpecClass(ConnectorDescriptor desc,
String messageListenerType)
Return the ActivationSpecClass name for given rar and messageListenerType
|
List<String> |
getConfidentialProperties(ConnectorDescriptor desc,
String rarName,
String... keyFields)
Gi
|
Properties |
getJavaBeanProps(ConnectorDescriptor desc,
String messageListenerType,
String rarName)
Parses the ra.xml for the ActivationSpec javabean
properties.
|
Properties |
getJavaBeanReturnTypes(ConnectorDescriptor desc,
String messageListenerType,
String rarName)
Returns the Properties object consisting of propertyname as the
key and datatype as the value.
|
String[] |
getMessageListenerTypes(ConnectorDescriptor desc)
Obtains the Message Listener types of a given rar.
|
public MessageListenerConfigParserImpl()
public String getActivationSpecClass(ConnectorDescriptor desc, String messageListenerType) throws ConnectorRuntimeException
getActivationSpecClass in interface MessageListenerConfigParserdesc - ConnectorDescriptor pertaining to rar.messageListenerType - MessageListener typeConnectorRuntimeException - If moduleDir is null.
If corresponding rar is not deployed.public String[] getMessageListenerTypes(ConnectorDescriptor desc) throws ConnectorRuntimeException
MessageListenerConfigParsergetMessageListenerTypes in interface MessageListenerConfigParserdesc - ConnectorDescriptor pertaining to rar.ConnectorRuntimeException - If rar is not exploded or
incorrect ra.xmlpublic Properties getJavaBeanProps(ConnectorDescriptor desc, String messageListenerType, String rarName) throws ConnectorRuntimeException
getJavaBeanProps in interface ConnectorConfigParserdesc - ConnectorDescriptor pertaining to rar.messageListenerType - message listener type.It is uniqie
across all ConnectorRuntimeException - if either of the parameters are null.
If corresponding rar is not deployed i.e moduleDir is invalid.
If messagelistener type is not found in ra.xmlpublic List<String> getConfidentialProperties(ConnectorDescriptor desc, String rarName, String... keyFields) throws ConnectorRuntimeException
ConnectorConfigParsergetConfidentialProperties in interface ConnectorConfigParserConnectorRuntimeExceptionpublic Properties getJavaBeanReturnTypes(ConnectorDescriptor desc, String messageListenerType, String rarName) throws ConnectorRuntimeException
getJavaBeanReturnTypes in interface MessageListenerConfigParsermessageListenerType - message listener type.It is uniqie
across all desc - ConnectorDescriptor pertaining to rar.ConnectorRuntimeException - if either of the parameters are null.
If corresponding rar is not deployed i.e moduleDir is invalid.
If messagelistener type is not found in ra.xmlCopyright © 2019. All rights reserved.