Object
ToolkitConstants
Single point of access to the application server. This should make it easy to swap out servers, and processes.
Object
WebLogicHelper
ToolkitConstants
Field Summary |
protected static |
|
protected static final boolean |
|
protected |
|
protected |
|
Constructor Summary |
|
Method Summary |
public void |
|
public int |
|
public |
|
public static |
|
public |
|
public |
|
public long |
|
public synchronized long | |
public |
|
public |
|
public |
|
protected void |
|
public void | |
public void | |
public void | |
public synchronized void |
|
Methods from class java.lang. |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static WebLogicHelper cc
protected static final boolean debug
protected String serverUrl
protected T3ServicesDef t3Services
Constructor Detail |
protected WebLogicHelper()
Method Detail |
public void finalize()Destructor.
throwsThrowable
Object.finalize()
Throwable
DEPRECATED Services that need this should provide internal implementation
public int getBuild()Get the WebLogic version.
DEPRECATED Use com.bea.p13n.util.jdbc.JdbcHelper.getConnection(javax.sql.DataSource, int, long)
publicGet a connection to a pooled database connection in Weblogic.ConnectiongetConnection()
throwsToolkitException,SQLException
ToolkitException
SQLException
public static WebLogicHelper getInstance()
Get the singleton instance.
DEPRECATED Use com.bea.p13n.util.jdbc.JdbcHelper.getConnection(javax.sql.DataSource, int, long)
publicGet a straight JDBC connection.ConnectiongetJDBCConnection()
throwsToolkitException,SQLException
Connection ToolkitException
SQLException
DEPRECATED Use com.bea.p13n.util.jdbc.JdbcHelper.getConnection(javax.sql.DataSource, int, long)
publicGet connection.ConnectiongetJtsConnection()
throwsToolkitException,SQLException
Connection ToolkitException
SQLException
DEPRECATED Use com.bea.p13n.util.jdbc.Sequencer
and com.bea.p13n.util.jdbc.SequencerFactory
public long getNewId()Get a unique id for a schema.
throwsToolkitException
ToolkitException
DEPRECATED Use com.bea.p13n.util.jdbc.Sequencer
and com.bea.p13n.util.jdbc.SequencerFactory
public synchronized long getNewId(Get a unique id for a given id.StringanId)
throwsToolkitException
ToolkitException
DEPRECATED Use com.bea.p13n.util.JndiHelper to get the
Context and do the lookup.
publicConnect to a reference in JNDI referred to by the lookup name.ObjectgetService(StringaLookupName)
throwsToolkitException
ToolkitException
DEPRECATED Services that need this functionality should implement it internally, and not expose it via a public API.
public T3ServicesDef getT3Services()
Get the services. Subclasses should implement
if different.
DEPRECATED Services that need this functionality should implement it internally, and not expose it via a public API.
public TimeServicesDef getTime()
Get the T3 time service.
DEPRECATED
protected void init()Init the connections to the app server.
DEPRECATED Use Weblogic i18n message logging
public void log(String aMsg)
Write to the weblogic logs, with extra information
added. The granularity is defined in the properties file.
DEPRECATED Use Weblogic i18n message logging
public void log(int aLevel,
String aMsg)
Write to the weblogic logs, with extra information
added. The granularity is defined in the properties file.
DEPRECATED Use Weblogic i18n message logging
public void log(int aLevel,
String appName,
String aMsg)
Write to the weblogic logs, with extra information
added. The granularity is defined in the properties file.
DEPRECATED Services that need this functionality should implement it internally, and not expose it via a public API.
public synchronized void setupConnection()creates a T3Client connection to the Tengah server, creates a jndi context to lookup the TRVClientServices object, and creates a TRVClient
throwsToolkitException
ToolkitException