com.ibm.websphere.sib
Class SIDestinationAddressFactory
- java.lang.Object
-
- 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
Constructors Constructor and Description SIDestinationAddressFactory()
-
Method Summary
Methods Modifier and Type Method and Description 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.
-
-
-
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 DestinationlocalOnly
- 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 DestinationbusName
- 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 DestinationlocalOnly
- 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.
-
-