org.objectweb.dsrg.sofa.osgi
Interface RegistrationListener

All Known Implementing Classes:
ProxyActivator

public interface RegistrationListener

RegistrationListener interface

The RegistrationListener interface is used: - by proxy bundles to register themselves within the SOFA2 runtime - by SOFA2 runtime to register/unregister services though the corresponding proxy bundles


Method Summary
 boolean register(java.lang.Object service, java.util.Dictionary properties)
          Called to register a service
 boolean unregister(java.lang.Object service)
          Called to unregister a service
 

Method Detail

register

boolean register(java.lang.Object service,
                 java.util.Dictionary properties)
Called to register a service

Parameters:
service - the service implementation
properties - the service properties
Returns:
true if success, false otherwise

unregister

boolean unregister(java.lang.Object service)
Called to unregister a service

Parameters:
service - the service implementation
Returns:
true if success, false otherwise