de.kalpatec.pojosr.framework
Class PojoSR
java.lang.Object
de.kalpatec.pojosr.framework.PojoSR
- All Implemented Interfaces:
- PojoServiceRegistry
public class PojoSR
- extends Object
- implements PojoServiceRegistry
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoSR
public PojoSR(Map config)
throws Exception
- Throws:
Exception
startBundles
public void startBundles(List<BundleDescriptor> scan)
throws Exception
- Specified by:
startBundles in interface PojoServiceRegistry
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
getBundleContext
public org.osgi.framework.BundleContext getBundleContext()
- Specified by:
getBundleContext in interface PojoServiceRegistry
addServiceListener
public void addServiceListener(org.osgi.framework.ServiceListener listener,
String filter)
throws org.osgi.framework.InvalidSyntaxException
- Specified by:
addServiceListener in interface PojoServiceRegistry
- Throws:
org.osgi.framework.InvalidSyntaxException
addServiceListener
public void addServiceListener(org.osgi.framework.ServiceListener listener)
- Specified by:
addServiceListener in interface PojoServiceRegistry
removeServiceListener
public void removeServiceListener(org.osgi.framework.ServiceListener listener)
- Specified by:
removeServiceListener in interface PojoServiceRegistry
registerService
public org.osgi.framework.ServiceRegistration registerService(String[] clazzes,
Object service,
Dictionary properties)
- Specified by:
registerService in interface PojoServiceRegistry
registerService
public org.osgi.framework.ServiceRegistration registerService(String clazz,
Object service,
Dictionary properties)
- Specified by:
registerService in interface PojoServiceRegistry
getServiceReferences
public org.osgi.framework.ServiceReference[] getServiceReferences(String clazz,
String filter)
throws org.osgi.framework.InvalidSyntaxException
- Specified by:
getServiceReferences in interface PojoServiceRegistry
- Throws:
org.osgi.framework.InvalidSyntaxException
getServiceReference
public org.osgi.framework.ServiceReference getServiceReference(String clazz)
- Specified by:
getServiceReference in interface PojoServiceRegistry
getService
public Object getService(org.osgi.framework.ServiceReference reference)
- Specified by:
getService in interface PojoServiceRegistry
ungetService
public boolean ungetService(org.osgi.framework.ServiceReference reference)
- Specified by:
ungetService in interface PojoServiceRegistry
Copyright © 2012. All Rights Reserved.