接口的使用
org.osgi.framework.ServiceRegistration
-
使用ServiceRegistration的程序包 程序包 说明 org.apache.felix.framework org.osgi.framework Framework Package Version 1.8. -
-
org.apache.felix.framework中ServiceRegistration的使用
返回ServiceRegistration的org.apache.felix.framework中的方法 修饰符和类型 方法 说明 ServiceRegistration<?>ServiceRegistry. registerService(BundleContext context, java.lang.String[] classNames, java.lang.Object svcObj, java.util.Dictionary dict)参数类型为ServiceRegistration的org.apache.felix.framework中的方法 修饰符和类型 方法 说明 voidServiceRegistry. unregisterService(Bundle bundle, ServiceRegistration<?> reg) -
org.osgi.framework中ServiceRegistration的使用
返回ServiceRegistration的org.osgi.framework中的方法 修饰符和类型 方法 说明 <S> ServiceRegistration<S>BundleContext. registerService(java.lang.Class<S> clazz, ServiceFactory<S> factory, java.util.Dictionary<java.lang.String,?> properties)Registers the specified service factory object with the specified properties under the name of the specified class with the Framework.<S> ServiceRegistration<S>BundleContext. registerService(java.lang.Class<S> clazz, S service, java.util.Dictionary<java.lang.String,?> properties)Registers the specified service object with the specified properties under the name of the specified class with the Framework.ServiceRegistration<?>BundleContext. registerService(java.lang.String[] clazzes, java.lang.Object service, java.util.Dictionary<java.lang.String,?> properties)Registers the specified service object with the specified properties under the specified class names into the Framework.ServiceRegistration<?>BundleContext. registerService(java.lang.String clazz, java.lang.Object service, java.util.Dictionary<java.lang.String,?> properties)Registers the specified service object with the specified properties under the specified class name with the Framework.参数类型为ServiceRegistration的org.osgi.framework中的方法 修饰符和类型 方法 说明 SPrototypeServiceFactory. getService(Bundle bundle, ServiceRegistration<S> registration)Returns a service object for a caller.SServiceFactory. getService(Bundle bundle, ServiceRegistration<S> registration)Returns a service object for a bundle.voidPrototypeServiceFactory. ungetService(Bundle bundle, ServiceRegistration<S> registration, S service)Releases a service object customized for a caller.voidServiceFactory. ungetService(Bundle bundle, ServiceRegistration<S> registration, S service)Releases a service object customized for a bundle.
-