| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IServiceClient
Service Client
| Method Summary | |
|---|---|
 void | 
connect(java.lang.String targetLocation,
        IConnectContext connectContext)
Connect to the given targetLocation  | 
 java.lang.String | 
getId()
Get the client's ID in String form.  | 
 IRemoteServiceContainer | 
getRemoteServiceContainer()
Get the remote service container for this service client.  | 
 boolean | 
isConnected()
 | 
 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 | 
registerServiceClient(org.osgi.framework.BundleContext context,
                      java.util.Dictionary properties)
Register service client.  | 
 void | 
stop()
Stop this service client.  | 
| Method Detail | 
|---|
java.lang.String getId()
void connect(java.lang.String targetLocation,
             IConnectContext connectContext)
             throws ContainerConnectException
targetLocation - 
ContainerConnectExceptionboolean isConnected()
true if client is connected, false otherwise.
org.osgi.framework.ServiceRegistration registerServiceClient(org.osgi.framework.BundleContext context,
                                                             java.util.Dictionary properties)
context - the BundleContext to register with.  Must not be null.properties - to associate with IServiceClient 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 | |||||||||