|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.core.service.StandardServiceContext
Defines the interface that enables Services to log messages and access other Services.
| Field Summary | |
protected Logger |
logger
The Logger for this ServiceContext. |
protected Properties |
prop
Configuration Properties. |
protected ServiceFinder |
serviceFinder
The ServiceFinder through which lookups for other Services can be made. |
| Constructor Summary | |
StandardServiceContext(Properties prop,
ServiceFinder serviceFinder,
Logger logger)
Create a new StandardServiceContext. |
|
| Method Summary | |
Logger |
getLogger()
Get the Logger for this Context. |
ServiceFinder |
getServiceFinder()
Get a ServiceFinder. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Properties prop
protected ServiceFinder serviceFinder
protected Logger logger
| Constructor Detail |
public StandardServiceContext(Properties prop,
ServiceFinder serviceFinder,
Logger logger)
prop - initialization Properties, which may be the same as those
provided to the corresponding ServiceConfigserviceFinder - the ServiceFinder through which other services can
be looked uplogger - the Logger for this ServiceContext| Method Detail |
public ServiceFinder getServiceFinder()
getServiceFinder in interface ServiceContextpublic Logger getLogger()
getLogger in interface ServiceContext
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||