Novell exteNd Web Services SDK API

javax.xml.messaging
Class ProviderConnectionFactory

java.lang.Object
  extended byjavax.xml.messaging.ProviderConnectionFactory

public abstract class ProviderConnectionFactory
extends Object

A factory for creating connections to a particular messaging provider. A ProviderConnectionFactory object can be obtained in two different ways.


Constructor Summary
ProviderConnectionFactory()
           
 
Method Summary
abstract  ProviderConnection createConnection()
          Creates a ProviderConnection object to the messaging provider that is associated with this ProviderConnectionFactory object.
static ProviderConnectionFactory newInstance()
          Creates a default ProviderConnectionFactory object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderConnectionFactory

public ProviderConnectionFactory()
Method Detail

createConnection

public abstract ProviderConnection createConnection()
                                             throws JAXMException
Creates a ProviderConnection object to the messaging provider that is associated with this ProviderConnectionFactory object.

Returns:
a ProviderConnection object that represents a connection to the provider associated with this ProviderConnectionFactory object
Throws:
JAXMException - if there is an error in creating the connection

newInstance

public static ProviderConnectionFactory newInstance()
                                             throws JAXMException
Creates a default ProviderConnectionFactory object.

Returns:
a new instance of a ProviderConnectionFactory
Throws:
JAXMException - if there was an error creating the default ProviderConnectionFactory

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.