|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.sail.core.service.impl.ServiceContextImpl
public class ServiceContextImpl
Constructor Summary | |
---|---|
ServiceContextImpl()
|
Method Summary | |
---|---|
void |
addService(java.lang.Class<?> serviceClass,
java.lang.Object service)
|
java.lang.Object |
getService(java.lang.Class<?> serviceClass)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceContextImpl()
Method Detail |
---|
public void addService(java.lang.Class<?> serviceClass, java.lang.Object service)
addService
in interface ServiceContext
serviceClass
- service class to add, used as key to the actual
service implementationservice
- the actual service implementation to usepublic java.lang.Object getService(java.lang.Class<?> serviceClass)
getService
in interface ServiceContext
serviceClass
- the service class to lookup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |