org.arch4j.baseservices.weblogic
Class WebLogicBaseServices
java.lang.Object
|
+--org.arch4j.baseservices.weblogic.WebLogicBaseServices
- All Implemented Interfaces:
- BaseServices
- public class WebLogicBaseServices
- extends Object
- implements BaseServices
This class provides the WebLogic implementation of an
BaseServices
interface. It is used to access
base services offered by WebLogic.
- Version:
- 1.0
- Author:
- David Colwell
Constructor Summary |
WebLogicBaseServices()
Constructs a new instance and initializes the url to the
value specified in a properties file. |
Method Summary |
Context |
getContext()
Gets a Context based on the url specified
in the properties file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebLogicBaseServices
public WebLogicBaseServices()
- Constructs a new instance and initializes the
url
to the
value specified in a properties file.
- Throws:
EnvironmentalException
- if the URL property cannot be retrieved due to either an missing
property file or an invalid property file format.
getContext
public Context getContext()
- Gets a
Context
based on the url
specified
in the properties file.
Note: The InitialContext class is not thread safe and therefore should NOT
be accessed as a singleton. -DRC
- Specified by:
getContext
in interface BaseServices
Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.