|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.beasys.commerce.axiom.util.weblogic.helper.WebLogicHelper
@Deprecated public class WebLogicHelper
Single point of access to the application server. This should make it easy to swap out servers, and processes.
| Field Summary | |
|---|---|
protected static WebLogicHelper |
cc
Deprecated Singleton instance. |
protected static boolean |
debug
Deprecated Compile out the debug code. |
protected String |
serverUrl
Deprecated The weblogic server url. |
protected T3ServicesDef |
t3Services
Deprecated Handle to the Weblogic T3 client class. |
| Fields inherited from interface com.beasys.commerce.axiom.util.ToolkitConstants |
|---|
DEFAULT_ID_CACHE, DEFAULT_ID_PROCEDURE, DEFAULT_JDBC_POOL_NAME, DEFAULT_JTS_POOL_NAME, DEFAULT_LOGGING_LEVEL, DEFAULT_WEBLOGIC_HOST, DEFAULT_WEBLOGIC_PORT, ID_CACHE, ID_PROCEDURE, JDBC_POOL_NAME, JTS_POOL_NAME, LOG_DEBUG, LOG_ERROR, LOG_FATAL, LOG_INFO, LOG_SECURITY, LOG_WARNING, LOGGING_LEVEL, WEBLOGIC_HOST, WEBLOGIC_PORT |
| Constructor Summary | |
|---|---|
protected |
WebLogicHelper()
Deprecated Default constructor. |
| Method Summary | |
|---|---|
void |
finalize()
Deprecated Destructor. |
int |
getBuild()
Deprecated Services that need this should provide internal implementation |
Connection |
getConnection()
Deprecated Use com.bea.p13n.util.jdbc.JdbcHelper#getConnection |
static WebLogicHelper |
getInstance()
Deprecated Get the singleton instance. |
Connection |
getJDBCConnection()
Deprecated Use com.bea.p13n.util.jdbc.JdbcHelper#getConnection |
Connection |
getJtsConnection()
Deprecated Use com.bea.p13n.util.jdbc.JdbcHelper#getConnection |
long |
getNewId()
Deprecated Use com.bea.p13n.util.jdbc.Sequencer
and com.bea.p13n.util.jdbc.SequencerFactory |
long |
getNewId(String anId)
Deprecated Use com.bea.p13n.util.jdbc.Sequencer
and com.bea.p13n.util.jdbc.SequencerFactory |
Object |
getService(String aLookupName)
Deprecated Use JndiHelper to get the
Context and do the lookup. |
T3ServicesDef |
getT3Services()
Deprecated Services that need this functionality should implement it internally, and not expose it via a public API. |
TimeServicesDef |
getTime()
Deprecated Services that need this functionality should implement it internally, and not expose it via a public API. |
protected void |
init()
Deprecated |
void |
log(int aLevel,
String aMsg)
Deprecated Use Weblogic i18n message logging |
void |
log(int aLevel,
String appName,
String aMsg)
Deprecated Use Weblogic i18n message logging |
void |
log(String aMsg)
Deprecated Use Weblogic i18n message logging |
void |
setupConnection()
Deprecated Services that need this functionality should implement it internally, and not expose it via a public API. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final boolean debug
protected static WebLogicHelper cc
protected T3ServicesDef t3Services
protected String serverUrl
| Constructor Detail |
|---|
protected WebLogicHelper()
| Method Detail |
|---|
public void finalize()
throws Throwable
finalize in class ObjectThrowablepublic static WebLogicHelper getInstance()
public T3ServicesDef getT3Services()
public TimeServicesDef getTime()
protected void init()
public void setupConnection()
throws ToolkitException
ToolkitException - holder for any exception
public Object getService(String aLookupName)
throws ToolkitException
JndiHelper to get the
Context and do the lookup.
String - the lookup name.
ToolkitException - holder for any exceptionpublic void log(String aMsg)
String - the message, if null it will ignore.
public void log(int aLevel,
String aMsg)
int - aLevel Possible error levels are:
FrameworkConstants.LOG_DEBUG
FrameworkConstants.LOG_INFO
FrameworkConstants.LOG_WARNING
FrameworkConstants.LOG_ERROR
FrameworkConstants.LOG_FATAL
FrameworkConstants.LOG_SECURITYString - the message, if null it will ignore.public int getBuild()
public void log(int aLevel,
String appName,
String aMsg)
int - aLevel Possible error levels are:
FrameworkConstants.LOG_DEBUG
FrameworkConstants.LOG_INFO
FrameworkConstants.LOG_WARNING
FrameworkConstants.LOG_ERROR
FrameworkConstants.LOG_FATAL
FrameworkConstants.LOG_SECURITYappName - the name of the application logging the messageString - the message, if null it will ignore.
public Connection getConnection()
throws ToolkitException,
SQLException
com.bea.p13n.util.jdbc.JdbcHelper#getConnection
ToolkitException
SQLException
public Connection getJDBCConnection()
throws ToolkitException,
SQLException
com.bea.p13n.util.jdbc.JdbcHelper#getConnection
Connection
ToolkitException
SQLException
ToolkitException
SQLException
public Connection getJtsConnection()
throws ToolkitException,
SQLException
com.bea.p13n.util.jdbc.JdbcHelper#getConnection
Connection
ToolkitException
SQLException
ToolkitException
SQLException
public long getNewId()
throws ToolkitException
com.bea.p13n.util.jdbc.Sequencer
and com.bea.p13n.util.jdbc.SequencerFactory
ToolkitException
public long getNewId(String anId)
throws ToolkitException
com.bea.p13n.util.jdbc.Sequencer
and com.bea.p13n.util.jdbc.SequencerFactory
anId - the table name, bean name, whatever you want to keep
track of unique ids for.
ToolkitException
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||