|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IServiceHost
Service Host
| Method Summary | |
|---|---|
java.lang.String |
getConnectTargetLocation()
Get the connect target location for this service host. |
IRemoteServiceContainer |
getRemoteServiceContainer()
Get the remote service container for this service client. |
IRemoteServiceRegistration |
registerRemoteService(java.lang.String[] clazzes,
java.lang.Object service,
java.util.Dictionary remoteServiceProperties)
Register a remote service with this service client. |
org.osgi.framework.ServiceRegistration |
registerServiceHost(org.osgi.framework.BundleContext context,
java.util.Dictionary properties)
Register service host. |
void |
start()
Start the service host. |
void |
stop()
Stop this service host. |
| Method Detail |
|---|
java.lang.String getConnectTargetLocation()
null.
void start()
throws java.lang.Exception
java.lang.Exception - if something goes wrong with initialization or starting.
org.osgi.framework.ServiceRegistration registerServiceHost(org.osgi.framework.BundleContext context,
java.util.Dictionary properties)
context - the BundleContext to register with. Must not be null.properties - to associate with IServiceHost registration. May be null.
null.
IRemoteServiceRegistration registerRemoteService(java.lang.String[] clazzes,
java.lang.Object service,
java.util.Dictionary remoteServiceProperties)
clazzes - the interface class names of the remote services expose.service - the actual service implementation.remoteServiceProperties - and remote service properties to be exposed to clients of the remote service.
null.IRemoteServiceContainer getRemoteServiceContainer()
null.void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||