Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

oracle.adf.model.connection.url
Class URLProviderFactory

java.lang.Object
  extended by oracle.adf.model.connection.url.URLProviderFactory

public class URLProviderFactory
extends java.lang.Object

URLProviderFactory is the design time resource creator for the 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

Since:
10.1.3

Constructor Summary
URLProviderFactory()
          Instantiate this ProviderFactory
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLProviderFactory

public URLProviderFactory()
Instantiate this ProviderFactory

Method Detail

newInstance

public javax.naming.Referenceable newInstance(javax.naming.directory.Attributes attrs,
                                              javax.naming.Context connectionCtx)
                                       throws java.lang.Exception
Create the Referenceable facet of the URLConnection based on the attributes collected by the UI session.

Parameters:
attrs - The Attributes that describe the connection to to be created.
Returns:
The Referenceable instance of the connection created.
Throws:
java.lang.Exception

getAttributes

public javax.naming.directory.Attributes getAttributes(javax.naming.Referenceable connection)
                                                throws java.lang.Exception
Get the attributes from the Connection Referenceable.

Parameters:
connection - The Referenceable facet describing the connection instance
Returns:
The Attributes that describe the connection
Throws:
java.lang.Exception

isInstanceOf

public boolean isInstanceOf(javax.naming.Referenceable connection)
Check if the specified Referenceable instance describes a URLConnection

Parameters:
connection - The Refereneable instance
Returns:
true if the Referenceable instance represents a URLConnection instance falseotherwise.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

Copyright © 1997, 2011, Oracle. All rights reserved.