|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceConfig
Defines the interface to a Cafesoft Service configuration. This class encapsulates deployment environment specific information.
| Method Summary | |
|---|---|
String |
getId()
Get the Service identifier. |
String |
getInitParameter(String name)
Returns a String containing the value of the named initialization parameter. |
String |
getInitParameter(String name,
String defaultValue)
Returns a String containing the value of the named initialization parameter or the default value. |
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. |
ServiceContext |
getServiceContext()
Returns a reference to the ServiceContext in which the Service is executing. |
| Method Detail |
|---|
String getId()
ServiceContext getServiceContext()
ServiceContextString getInitParameter(String name)
name - a String specifying the name of the initialization
parameter.
String getInitParameter(String name,
String defaultValue)
name - a String specifying the name of the initialization
parameterdefaultValue - the default value to be returned if the
initialization parameter does not exist or it's value is null
Iterator getInitParameterNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||