public class ConnectionFactoryImpl extends ConnectionFactory
| Constructor and Description |
|---|
ConnectionFactoryImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
createConnection()
Create a named connection.
|
FederatedConnection |
createFederatedConnection(Collection connections)
Create a Federation.
|
Properties |
getProperties()
Gets the Properties used during createConnection
and createFederatedConnection calls.
|
void |
setProperties(Properties properties)
Sets the Properties used during createConnection
and createFederatedConnection calls.
|
newInstancepublic void setProperties(Properties properties) throws JAXRException
ConnectionFactory
javax.xml.registry.queryManagerURL - URL String for the query manager service within the target registry provider
javax.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 above
javax.xml.registry.semanticEquivalences - String that allows specification of semantic equivalences
javax.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 providers
javax.xml.registry.postalAddressScheme - String that specifies the id of a ClassificationScheme that is used as the default postal address scheme for this connection
setProperties in class ConnectionFactoryproperties - configuration properties that are either
specified by JAXR specification or are provider specific.JAXRException - If the JAXR provider encounters an internal errorpublic Properties getProperties() throws JAXRException
ConnectionFactorygetProperties in class ConnectionFactoryJAXRException - If the JAXR provider encounters an internal errorpublic Connection createConnection() throws JAXRException, InvalidRequestException
createConnection in class ConnectionFactoryJAXRException - If the JAXR provider encounters an internal errorInvalidRequestExceptionpublic FederatedConnection createFederatedConnection(Collection connections) throws JAXRException
createFederatedConnection in class ConnectionFactoryproperties - configuration properties that are either
specified by JAXR or provider specific.
connections - Is a Collection of Connection objects. Note that
Connection objects may also be Federation objects.JAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.