接口的使用
org.osgi.framework.ServiceListener
-
使用ServiceListener的程序包 程序包 说明 org.apache.felix.framework org.osgi.framework Framework Package Version 1.8. -
-
org.apache.felix.framework中ServiceListener的使用
实现ServiceListener的org.apache.felix.framework中的类 修饰符和类型 类 说明 classLoggerThis class mimics the standard OSGi LogService interface. -
org.osgi.framework中ServiceListener的使用
org.osgi.framework中ServiceListener的子接口 修饰符和类型 接口 说明 interfaceAllServiceListenerAServiceEventlistener that does not filter based upon package wiring.interfaceUnfilteredServiceListenerAServiceEventlistener that does not filter based upon any filter string specified toBundleContext.addServiceListener(ServiceListener, String).参数类型为ServiceListener的org.osgi.framework中的方法 修饰符和类型 方法 说明 voidBundleContext. addServiceListener(ServiceListener listener)Adds the specifiedServiceListenerobject to the context bundle's list of listeners.voidBundleContext. addServiceListener(ServiceListener listener, java.lang.String filter)Adds the specifiedServiceListenerobject with the specifiedfilterto the context bundle's list of listeners.voidBundleContext. removeServiceListener(ServiceListener listener)Removes the specifiedServiceListenerobject from the context bundle's list of listeners.
-