org.arch4j.baseservices.websphere
Class WebsphereBaseServices
java.lang.Object
|
+--org.arch4j.baseservices.websphere.WebsphereBaseServices
- All Implemented Interfaces:
- BaseServices
- public class WebsphereBaseServices
- extends Object
- implements BaseServices
This class provides the Websphere implementation of an
BaseServices
interface. It is used to access
base services offered by Websphere.
- Version:
- 1.0
- Author:
- David Colwell
Constructor Summary |
WebsphereBaseServices()
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 |
WebsphereBaseServices
public WebsphereBaseServices()
- 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.