Package com.sun.xml.registry.common
Class ConnectionFactoryImpl
- java.lang.Object
-
- javax.xml.registry.ConnectionFactory
-
- com.sun.xml.registry.common.ConnectionFactoryImpl
-
- All Implemented Interfaces:
Referenceable
public class ConnectionFactoryImpl extends ConnectionFactory implements Referenceable
Class Declaration for Class1- Author:
-
-
Constructor Summary
Constructors Constructor Description ConnectionFactoryImpl()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectioncreateConnection()Create a named connection.FederatedConnectioncreateFederatedConnection(Collection connections)Create a Federation.PropertiesgetProperties()Gets the Properties used during createConnection and createFederatedConnection calls.ReferencegetReference()Retrieve the reference of this object.voidsetProperties(Properties properties)Sets the Properties used during createConnection and createFederatedConnection calls.-
Methods inherited from class javax.xml.registry.ConnectionFactory
newInstance
-
-
-
-
Method Detail
-
setProperties
public void setProperties(Properties properties) throws JAXRException
Description copied from class:ConnectionFactorySets the Properties used during createConnection and createFederatedConnection calls.- Standard Connection Properties:
javax.xml.registry.queryManagerURL- URL String for the query manager service within the target registry providerjavax.xml.registry.lifeCycleManagerURL- URL String for the life cycle manager service within the target registry provider. If unspecified, must default to value of the queryManagerURL described abovejavax.xml.registry.semanticEquivalences- String that allows specification of semantic equivalencesjavax.xml.registry.security.authenticationMethod- string that provides a hint to the JAXR provider on the authentication method to be used when authenticating with the registry provider. Possible value include but are not limited to "UDDI_GET_AUTHTOKEN", "HTTP_BASIC", "CLIENT_CERTIFICATE", "MS_PASSPORT"javax.xml.registry.uddi.maxRows- integer that specifies the maximum number of rows to be returned for find operations. This property is specific for UDDI providersjavax.xml.registry.postalAddressScheme- String that specifies the id of a ClassificationScheme that is used as the default postal address scheme for this connection
- Capability Level: 0
- Specified by:
setPropertiesin classConnectionFactory- Parameters:
properties- configuration properties that are either specified by JAXR specification or are provider specific.- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getProperties
public Properties getProperties() throws JAXRException
Description copied from class:ConnectionFactoryGets the Properties used during createConnection and createFederatedConnection calls.- Capability Level: 0
- Specified by:
getPropertiesin classConnectionFactory- Returns:
- the Properties defined for this object
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
createConnection
public Connection createConnection() throws JAXRException
Create a named connection. Such a connection can be used to communicate with a JAXR provider.- Specified by:
createConnectionin classConnectionFactory- Returns:
- the Connection created by this call
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
createFederatedConnection
public FederatedConnection createFederatedConnection(Collection connections) throws JAXRException
Create a Federation.- Specified by:
createFederatedConnectionin classConnectionFactory- 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.- Returns:
- the FederatedConnection created by this call
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getReference
public Reference getReference() throws NamingException
Retrieve the reference of this object. Used when binding the object to a registry.- Specified by:
getReferencein interfaceReferenceable- Returns:
- Reference to the object.
- Throws:
NamingException
-
-