FileDocCategorySizeDatePackage
MessageListenerConfigParser.javaAPI DocGlassfish v2 API4079Fri May 04 22:34:26 BST 2007com.sun.enterprise.connectors.util

MessageListenerConfigParser

public interface MessageListenerConfigParser implements ConnectorConfigParser
Interface class of managed connection factory parser methods.
author
Srikanth P

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetActivationSpecClass(ConnectorDescriptor desc, java.lang.String messageListenerType)
Returns the ActivationSpecClass name for the given rar and message listener type.

param
desc ConnectorDescriptor pertaining to rar.
param
messageListenerType MessageListener type
throws
ConnectorRuntimeException If rar is not exploded or incorrect ra.xml

public java.util.PropertiesgetJavaBeanReturnTypes(ConnectorDescriptor desc, java.lang.String messageListenerType)
Returns the Properties object consisting of PropertyName as the key and the datatype as the value

param
desc ConnectorDescriptor pertaining to rar.
param
messageListenerType message listener type.It is uniqie across all sub-elements in element in a given rar.
return
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

public java.lang.String[]getMessageListenerTypes(ConnectorDescriptor desc)
Obtains the Message Listener types of a given rar.

param
desc ConnectorDescriptor pertaining to rar.
return
Array of MessageListener types as strings
throws
ConnectorRuntimeException If rar is not exploded or incorrect ra.xml