org.jboss.osgi.spi.util
Class BundleContextHelper
java.lang.Object
org.jboss.osgi.spi.util.BundleContextHelper
public class BundleContextHelper
- extends Object
A helper for various BundleContext related operations.
- Since:
- 28-Apr-2010
- Author:
- thomas.Diesler@jboss.org
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleContextHelper
public BundleContextHelper(BundleContext context)
getServiceReference
public ServiceReference getServiceReference(String serviceName,
int timeout)
- Get a ServiceReference with a given timeout.
- Returns:
- The service ref, or null if the service was not registered in time.
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.