oracle.jdeveloper.cm
Class CMUtils
java.lang.Object
oracle.jdeveloper.cm.CMUtils
- public class CMUtils
- extends java.lang.Object
Utility methods for users at runtime.
Method Summary |
static java.lang.String |
getUrl(java.lang.String presentation, ConnectionDescriptor desc)
Returns a connection URL for JDBC or IIOP connections. |
static java.lang.String |
namedHostToConnString(java.lang.String tempString)
This method is for internal use only. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMUtils
public CMUtils()
getUrl
public static java.lang.String getUrl(java.lang.String presentation,
ConnectionDescriptor desc)
throws CMException
- Returns a connection URL for JDBC or IIOP connections.
The presentation parameter can be one of the following:
ConnectionDescriptor@PRESENTATION_JDBC
ConnectionDescriptor@PRESENTATION_IIOP
Note that the Oracle JVM Connection Presentation is no longer used.
-
- Parameters:
presentation
- The presentation of the connection from which to create an Url.
desc
- The ConnectionDescriptor
which describes the Connection
- Throws:
CMException
namedHostToConnString
public static java.lang.String namedHostToConnString(java.lang.String tempString)
- This method is for internal use only.
Copyright © 1997, 2004, Oracle. All rights reserved.