Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.javatools.db
Class DBCore

java.lang.Object
  extended by oracle.javatools.db.DBCore

public class DBCore
extends java.lang.Object

The DBCore serves two purposes:

  1. Allows registration of classes in db-api-impl to core api
  2. Provides a single point through which our singletons are registered

Since:
11
For internal use only. Application developers should not use this

Nested Class Summary
static class DBCore.Mode
          The mode for the API - either command line, headless or full ide.
 
Method Summary
<T> T
get(java.lang.Class<T> clz)
           
static DBCore getInstance()
          The one singleton pattern that the API should have.
 DBCore.Mode getMode()
          Gets the current API mode.
<T> T
getOrInstantiate(java.lang.Class<T> clz)
           
 void put(java.lang.Object obj)
           
<T> T
remove(java.lang.Class<T> clz)
           
 void setMode(DBCore.Mode mode)
          Sets the mode the API is in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DBCore getInstance()
The one singleton pattern that the API should have.


put

public void put(java.lang.Object obj)

get

public <T> T get(java.lang.Class<T> clz)

getOrInstantiate

public <T> T getOrInstantiate(java.lang.Class<T> clz)

remove

public <T> T remove(java.lang.Class<T> clz)

getMode

public DBCore.Mode getMode()
Gets the current API mode.


setMode

public void setMode(DBCore.Mode mode)
Sets the mode the API is in. Internal use only.

For internal use only. Application developers should not use this

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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