Websphere MQ Everyplace

com.ibm.mqe
Interface MQePropertyProvider

All Known Implementing Classes:
MQeChannelListener, MQeProperties, MQePublicRegistry

public interface MQePropertyProvider

This interface should be implemented by any object capable of providing property information on request.


Field Summary
static short[] version
          MQe Version.
 
Method Summary
 java.lang.String getProperty(java.lang.String key)
           Implementors of the MQePropertyProvider interface must provide the getProperty method which will return a String containing the given value for the key provided.
 

Field Detail

version

public static final short[] version
MQe Version.

Method Detail

getProperty

public java.lang.String getProperty(java.lang.String key)

Implementors of the MQePropertyProvider interface must provide the getProperty method which will return a String containing the given value for the key provided.

Parameters:
key - A string containing the name of the property to retrieve from the available properties. The key follows the same naming convention as Java properties, for instance com.ibm.mqe.adapters.MQeTcpipLengthAdapter.Timeout would be used to retrieve the timeout property for the MQeTcpipLengthAdapter class. If the implementing class does not have the required information it can then use the key to interrogate the Java properties.
Returns:
A string containing the value of the property or null if no property found

Websphere MQ Everyplace