com.sun.xml.registry.ebxml
Class ConnectionFactoryImpl

java.lang.Object
  extended byjavax.xml.registry.ConnectionFactory
      extended bycom.sun.xml.registry.ebxml.ConnectionFactoryImpl

public class ConnectionFactoryImpl
extends javax.xml.registry.ConnectionFactory

Class Declaration for Class1


Constructor Summary
ConnectionFactoryImpl()
           
 
Method Summary
 javax.xml.registry.Connection createConnection()
          Create a named connection.
 javax.xml.registry.FederatedConnection createFederatedConnection(java.util.Collection connections)
          Create a FederatedConnection.
 org.apache.commons.logging.Log getLog()
          Internal method to return logger
 java.util.Properties getProperties()
          Gets the Properties used during createConnection and createFederatedConnection calls.
 void setProperties(java.util.Properties properties)
          Sets the Properties used during createConnection and createFederatedConnection calls.
 
Methods inherited from class javax.xml.registry.ConnectionFactory
newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionFactoryImpl

public ConnectionFactoryImpl()
                      throws javax.xml.registry.JAXRException
Method Detail

setProperties

public void setProperties(java.util.Properties properties)
                   throws javax.xml.registry.JAXRException
Sets the Properties used during createConnection and createFederatedConnection calls.

Capability Level: 0

Parameters:
properties - configuration properties that are either specified by JAXR or provider specific.
Throws:
javax.xml.registry.JAXRException

getProperties

public java.util.Properties getProperties()
                                   throws javax.xml.registry.JAXRException
Gets the Properties used during createConnection and createFederatedConnection calls.

Capability Level: 0

Throws:
javax.xml.registry.JAXRException

createConnection

public javax.xml.registry.Connection createConnection()
                                               throws javax.xml.registry.JAXRException
Create a named connection. Such a connection can be used to communicate with a JAXR provider.

Capability Level: 0

Throws:
javax.xml.registry.JAXRException

createFederatedConnection

public javax.xml.registry.FederatedConnection createFederatedConnection(java.util.Collection connections)
                                                                 throws javax.xml.registry.JAXRException
Create a FederatedConnection.

Capability Level: 0 (optional)

Parameters:
connections - Is a Collection of Connection objects. Note that Connection objects may also be FederatedConnection objects.
Throws:
javax.xml.registry.JAXRException

getLog

public org.apache.commons.logging.Log getLog()
Internal method to return logger



Copyright © 2001-2004 OASIS. All Rights Reserved.