Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.1.0)

E10686-02

oracle.adf.share.connection
Interface ConnectionType


public interface ConnectionType

Describes a type of connection (eg MDS, Database, UDDI) and provides the name of the InitialContextFactory that should be used to create an resource catalog adapter for a provider of this type.


Method Summary
 java.lang.String getADFConnectionsChildMBeanImplementor()
          Returns classname if this connection type has implemented connection mbean as specified by the oracle.adf.mbean.share.connection.ADFConnectionsChild
 java.lang.String getDescription(java.util.Locale locale)
          Get the localized description of the connection type.
 java.lang.String getDisplayName(java.util.Locale locale)
          Get the localized display name of the connection type.
 java.lang.String getId()
          Get the unique id of the connection type.
 boolean isInstanceOf(java.lang.Class connectionCls)
          Returns true if an instance of the connection class would match this connection type.
 boolean isInstanceOf(javax.naming.Referenceable connection)
          Returns true if the specified connection object instance matches this ConnectionType
 boolean isInstanceOf(java.lang.String connectionClassName)
          Returns true if an the named connection class is represented by this connection type.
 

Method Detail

getId

java.lang.String getId()
Get the unique id of the connection type. NOTE: Changing the return value of this method will require a migrator to update ADF Library jar deployment profile connection exclusion values.

Returns:
unique id of the connection type

getDisplayName

java.lang.String getDisplayName(java.util.Locale locale)
Get the localized display name of the connection type.

Parameters:
locale - requested Locale for the display name
Returns:
name of the connection type in the requested Locale

getDescription

java.lang.String getDescription(java.util.Locale locale)
Get the localized description of the connection type.

Parameters:
locale - requested Locale for the description
Returns:
description of the connection type in the requested Locale

isInstanceOf

boolean isInstanceOf(javax.naming.Referenceable connection)
Returns true if the specified connection object instance matches this ConnectionType

Parameters:
connection - the connection instance whose type should be compared to this ConnectionType
Returns:
true if the specified connection instance matches this ConnectionType. Otherwise false.

isInstanceOf

boolean isInstanceOf(java.lang.Class connectionCls)
Returns true if an instance of the connection class would match this connection type.

Parameters:
connectionCls - the connection class whose type should be compared to this ConnectionType
Returns:
true if an instance of the specified connection class would match this ConnectionType. Otherwise false.

isInstanceOf

boolean isInstanceOf(java.lang.String connectionClassName)
Returns true if an the named connection class is represented by this connection type.

Parameters:
connectionClassName - the name of the connection class whose type should be compared to this ConnectionType
Returns:
true if an instance of the named connection class would match this ConnectionType. Otherwise false.

getADFConnectionsChildMBeanImplementor

java.lang.String getADFConnectionsChildMBeanImplementor()
Returns classname if this connection type has implemented connection mbean as specified by the oracle.adf.mbean.share.connection.ADFConnectionsChild

Returns:
className if this connection type has implemented child connection mbean, else return null

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.1.0)

E10686-02

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