org.springframework.osgi.util
Class OsgiServiceUtils

java.lang.Object
  extended by org.springframework.osgi.util.OsgiServiceUtils

public abstract class OsgiServiceUtils
extends Object

Utility class offering easy access to OSGi services.

Author:
Adrian Colyer, Costin Leau

Constructor Summary
OsgiServiceUtils()
           
 
Method Summary
static boolean unregisterService(ServiceRegistration registration)
          Unregisters the given service registration from the given bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsgiServiceUtils

public OsgiServiceUtils()
Method Detail

unregisterService

public static boolean unregisterService(ServiceRegistration registration)
Unregisters the given service registration from the given bundle. Returns true if the unregistration process succeeded, false otherwise.

Parameters:
registration - service registration (can be null)
Returns:
true if the unregistration successeded, false otherwise


Copyright © 2006-2009 Spring Framework. All Rights Reserved.