net.sf.sail.core.service
Interface ServiceContext
- All Known Implementing Classes:
- ServiceContextImpl
public interface ServiceContext
Provides service implementations
- Author:
- scytacki
AUDIT07
Method Summary |
void |
addService(java.lang.Class<?> serviceClass,
java.lang.Object service)
|
java.lang.Object |
getService(java.lang.Class<?> serviceClass)
|
addService
void addService(java.lang.Class<?> serviceClass,
java.lang.Object service)
- Parameters:
serviceClass
- service class to add, used as key to the actual
service implementationservice
- the actual service implementation to use
getService
java.lang.Object getService(java.lang.Class<?> serviceClass)
- Parameters:
serviceClass
- the service class to lookup
- Returns:
- serviceClass implementation that is being used
Copyright © 2004-2008 TELS Center. All Rights Reserved.