IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.sib
Class SIDestinationAddressFactory

java.lang.Object
  extended by com.ibm.websphere.sib.SIDestinationAddressFactory

public abstract class SIDestinationAddressFactory
extends java.lang.Object

A singleton SIDestinationAddressFactory is created at static initialization and is subsequently used for the creation of all SIDestinationAddresss.


Constructor Summary
SIDestinationAddressFactory()
           
 
Method Summary
abstract  SIDestinationAddress createSIDestinationAddress(java.lang.String destinationName, boolean localOnly)
          Create a new SIDestinationAddress to represent an SIBus Destination.
abstract  SIDestinationAddress createSIDestinationAddress(java.lang.String destinationName, boolean localOnly, java.lang.String busName)
          Create a new SIDestinationAddress to represent an SIBus Destination.
abstract  SIDestinationAddress createSIDestinationAddress(java.lang.String destinationName, java.lang.String busName)
          Create a new SIDestinationAddress to represent an SIBus Destination.
static SIDestinationAddressFactory getInstance()
          Get the singleton SIDestinationAddressFactory which is to be used for creating SIDestinationAddress instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIDestinationAddressFactory

public SIDestinationAddressFactory()
Method Detail

getInstance

public static SIDestinationAddressFactory getInstance()
Get the singleton SIDestinationAddressFactory which is to be used for creating SIDestinationAddress instances.

Returns:
The SIDestinationAddressFactory

createSIDestinationAddress

public abstract SIDestinationAddress createSIDestinationAddress(java.lang.String destinationName,
                                                                boolean localOnly)
                                                         throws java.lang.NullPointerException
Create a new SIDestinationAddress to represent an SIBus Destination.

Parameters:
destinationName - The name of the SIBus Destination
localOnly - Indicates that the Destination should be limited to only the queue or mediation point on the Messaging Engine that the application is connected to, if one exists. If no such message point exists then the option is ignored.
Returns:
SIDestinationAddress The new SIDestinationAddress.
Throws:
java.lang.NullPointerException - Thrown if the destinationName parameter is null.

createSIDestinationAddress

public abstract SIDestinationAddress createSIDestinationAddress(java.lang.String destinationName,
                                                                java.lang.String busName)
                                                         throws java.lang.NullPointerException
Create a new SIDestinationAddress to represent an SIBus Destination.

Parameters:
destinationName - The name of the SIBus Destination
busName - The name of the bus on which this SIBus Destination exists.
Returns:
SIDestinationAddress The new SIDestinationAddress.
Throws:
java.lang.NullPointerException - Thrown if the destinationName parameter is null.

createSIDestinationAddress

public abstract SIDestinationAddress createSIDestinationAddress(java.lang.String destinationName,
                                                                boolean localOnly,
                                                                java.lang.String busName)
                                                         throws java.lang.NullPointerException
Create a new SIDestinationAddress to represent an SIBus Destination.

Parameters:
destinationName - The name of the SIBus Destination
localOnly - Indicates that the Destination should be limited to only the queue or mediation point on the Messaging Engine that the application is connected to, if one exists. If no such message point exists then the option is ignored.
busName - The name of the bus on which this SIBus Destination exists.
Returns:
SIDestinationAddress The new SIDestinationAddress.
Throws:
java.lang.NullPointerException - Thrown if the destinationName parameter is null.

IBM WebSphere Application ServerTM
Release 7