|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.registry.ConnectionFactory
This is the abstract base class for factory classes for creating a JAXR connection. A JAXR ConnectionFactory object is configured in a provider-specific way to create connections with registry providers.
Connection
Constructor Summary | |
ConnectionFactory()
|
Method Summary | |
abstract Connection |
createConnection()
Create a named connection. |
abstract FederatedConnection |
createFederatedConnection(java.util.Collection connections)
Create a FederatedConnection. |
abstract java.util.Properties |
getProperties()
Gets the Properties used during createConnection and createFederatedConnection calls. |
static ConnectionFactory |
newInstance()
Creates a default ConnectionFactory object. |
abstract void |
setProperties(java.util.Properties properties)
Sets the Properties used during createConnection and createFederatedConnection calls. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectionFactory()
Method Detail |
public abstract void setProperties(java.util.Properties properties) throws JAXRException
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
properties
- configuration properties that are either
specified by JAXR specification or are provider specific.
JAXRException
- If the JAXR provider encounters an internal errorpublic abstract java.util.Properties getProperties() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic abstract Connection createConnection() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic abstract FederatedConnection createFederatedConnection(java.util.Collection connections) throws JAXRException
connections
- Is a Collection of Connection objects. Note that
Connection objects may also be FederatedConnection objects.
JAXRException
- If the JAXR provider encounters an internal errorpublic static ConnectionFactory newInstance() throws JAXRException
ConnectionFactory
object.
ConnectionFactory
JAXRException
- If the JAXR provider encounters an internal error
|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.