Extension SDK

oracle.jdeveloper.cm
Class CMUtils

java.lang.Object
  extended byoracle.jdeveloper.cm.CMUtils

public class CMUtils
extends java.lang.Object

Utility methods for users at runtime.


Constructor Summary
CMUtils()
           
 
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
 

Constructor Detail

CMUtils

public CMUtils()
Method Detail

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:

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.


Extension SDK

 

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