Class ConnectionFactoryImpl

  • All Implemented Interfaces:
    Referenceable

    public class ConnectionFactoryImpl
    extends javax.xml.registry.ConnectionFactory
    implements Referenceable
    Class Declaration for Class1
    Author:
    • Constructor Detail

      • ConnectionFactoryImpl

        public ConnectionFactoryImpl()
        Default constructor
    • Method Detail

      • setProperties

        public void setProperties​(Properties properties)
                           throws javax.xml.registry.JAXRException
        Specified by:
        setProperties in class javax.xml.registry.ConnectionFactory
        Throws:
        javax.xml.registry.JAXRException
      • getProperties

        public Properties getProperties()
                                 throws javax.xml.registry.JAXRException
        Specified by:
        getProperties in class javax.xml.registry.ConnectionFactory
        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.
        Specified by:
        createConnection in class javax.xml.registry.ConnectionFactory
        Throws:
        javax.xml.registry.JAXRException
      • createFederatedConnection

        public javax.xml.registry.FederatedConnection createFederatedConnection​(Collection connections)
                                                                         throws javax.xml.registry.JAXRException
        Create a Federation.
        Specified by:
        createFederatedConnection in class javax.xml.registry.ConnectionFactory
        Parameters:
        properties - configuration properties that are either specified by JAXR or provider specific.

        Capability Level: 0
        connections - Is a Collection of Connection objects. Note that Connection objects may also be Federation objects.
        Throws:
        javax.xml.registry.JAXRException