Interface MessageListenerConfigParser
-
- All Superinterfaces:
ConnectorConfigParser
- All Known Implementing Classes:
MessageListenerConfigParserImpl
public interface MessageListenerConfigParser extends ConnectorConfigParser
Interface class of managed connection factory parser methods.- Author:
- Srikanth P
-
-
Field Summary
-
Fields inherited from interface com.sun.enterprise.connectors.util.ConnectorConfigParser
AOR, configParserUtil, ddTransformUtil, MCF, MSL, RA
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetActivationSpecClass(ConnectorDescriptor desc, String messageListenerType)Returns the ActivationSpecClass name for the given rar and message listener type.PropertiesgetJavaBeanReturnTypes(ConnectorDescriptor desc, String messageListenerType, String rarName)Returns the Properties object consisting of PropertyName as the key and the datatype as the valueString[]getMessageListenerTypes(ConnectorDescriptor desc)Obtains the Message Listener types of a given rar.-
Methods inherited from interface com.sun.enterprise.connectors.util.ConnectorConfigParser
getConfidentialProperties, getJavaBeanProps
-
-
-
-
Method Detail
-
getMessageListenerTypes
String[] getMessageListenerTypes(ConnectorDescriptor desc) throws ConnectorRuntimeException
Obtains the Message Listener types of a given rar.- Parameters:
desc- ConnectorDescriptor pertaining to rar.- Returns:
- Array of MessageListener types as strings
- Throws:
ConnectorRuntimeException- If rar is not exploded or incorrect ra.xml
-
getActivationSpecClass
String getActivationSpecClass(ConnectorDescriptor desc, String messageListenerType) throws ConnectorRuntimeException
Returns the ActivationSpecClass name for the given rar and message listener type.- Parameters:
desc- ConnectorDescriptor pertaining to rar.messageListenerType- MessageListener type- Throws:
ConnectorRuntimeException- If rar is not exploded or incorrect ra.xml
-
getJavaBeanReturnTypes
Properties getJavaBeanReturnTypes(ConnectorDescriptor desc, String messageListenerType, String rarName) throws ConnectorRuntimeException
Returns the Properties object consisting of PropertyName as the key and the datatype as the value- Parameters:
desc- ConnectorDescriptor pertaining to rar.messageListenerType- message listener type.It is uniqie across allsub-elements in element in a given rar. - Returns:
- properties object with the property names(key) and datatype of property(as value).
- Throws:
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.xml
-
-