com.atlassian.jira.config.database.jdbcurlparser
Class OracleUrlParser

java.lang.Object
  extended by com.atlassian.jira.config.database.jdbcurlparser.OracleUrlParser
All Implemented Interfaces:
JdbcUrlParser

public class OracleUrlParser
extends Object
implements JdbcUrlParser


Constructor Summary
OracleUrlParser()
           
 
Method Summary
 String getUrl(String hostname, String port, String instance)
          Returns the JDBC URL for this DB config.
 DatabaseInstance parseUrl(String jdbcUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleUrlParser

public OracleUrlParser()
Method Detail

getUrl

public String getUrl(String hostname,
                     String port,
                     String instance)
Description copied from interface: JdbcUrlParser
Returns the JDBC URL for this DB config.

Specified by:
getUrl in interface JdbcUrlParser
Parameters:
hostname - the hostname
port - the TCP/IP port number
instance - the DB "instance"
Returns:
the JDBC URL for this DB config.

parseUrl

public DatabaseInstance parseUrl(String jdbcUrl)
                          throws ParseException
Specified by:
parseUrl in interface JdbcUrlParser
Throws:
ParseException


Copyright © 2002-2014 Atlassian. All Rights Reserved.