com.ibm.websphere.sib
Class SIDestinationAddressFactory

java.lang.Object
  extended bycom.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, 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 localized to the local Messaging Engine.
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.