|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.cams.StandardContext
Provides configuration parameters and resources to components deployed within the Cams environment.
| Constructor Summary | |
StandardContext(Config config,
String homeDir,
ServiceFinder serviceFinder,
Logger logger)
Create a new StandardContext. |
|
| Method Summary | |
String |
getHome()
Returns a String containing the root directory for the associated Component. |
String |
getInitParameter(String name)
Returns a String containing the value of the named initialization parameter. |
Iterator |
getInitParameterNames()
Returns the names of the Security Domains's initialization parameters as an Iterator of String objects, or an empty Iterator if the Security Domain has no initialization parameters. |
Logger |
getLogger()
Get the Logger for this Context. |
ServiceFinder |
getServiceFinder()
Get the ServiceFinder applicable to this Context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardContext(Config config,
String homeDir,
ServiceFinder serviceFinder,
Logger logger)
config - the associated Config objecthomeDir - the configuration root directory associated with this
exection ContextserviceFinder - the ServiceFinder associated with this execution
Contextlogger - the destination for log messages| Method Detail |
public String getHome()
getHome in interface Contextpublic String getInitParameter(String name)
getInitParameter in interface Contextname - a String specifying the name of the initialization parameter
public Iterator getInitParameterNames()
getInitParameterNames in interface Contextpublic ServiceFinder getServiceFinder()
getServiceFinder in interface Contextpublic Logger getLogger()
getLogger in interface Context
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||