public class URLProviderFactory
extends java.lang.Object
URLConnection. The Termination of the UI will call into
the ProviderFactory to generate a Referenceable facet of
the URLConnection to be registered with the Connection
Architecture| Constructor and Description |
|---|
URLProviderFactory()
Instantiate this ProviderFactory
|
| Modifier and Type | Method and Description |
|---|---|
javax.naming.directory.Attributes |
getAttributes(javax.naming.Referenceable connection)
Get the attributes from the Connection Referenceable.
|
boolean |
isInstanceOf(javax.naming.Referenceable connection)
Check if the specified
Referenceable instance describes
a URLConnection |
javax.naming.Referenceable |
newInstance(javax.naming.directory.Attributes attrs,
javax.naming.Context connectionCtx)
Create the
Referenceable facet of the URLConnection
based on the attributes collected by the UI session. |
public javax.naming.Referenceable newInstance(javax.naming.directory.Attributes attrs,
javax.naming.Context connectionCtx)
throws java.lang.Exception
Referenceable facet of the URLConnection
based on the attributes collected by the UI session.attrs - The Attributes that describe the connection to
to be created.Referenceable instance of the
connection created.java.lang.Exceptionpublic javax.naming.directory.Attributes getAttributes(javax.naming.Referenceable connection)
throws java.lang.Exception
connection - The Referenceable facet describing
the connection instanceAttributes that describe the
connectionjava.lang.Exceptionpublic boolean isInstanceOf(javax.naming.Referenceable connection)
Referenceable instance describes
a URLConnectionconnection - The Refereneable instancetrue if the Referenceable
instance represents a URLConnection instance
falseotherwise.