Package org.apache.felix.scr.impl.helper
Class ComponentServiceObjectsHelper.ComponentServiceObjectsImpl
- java.lang.Object
-
- org.apache.felix.scr.impl.helper.ComponentServiceObjectsHelper.ComponentServiceObjectsImpl
-
- All Implemented Interfaces:
org.osgi.service.component.ComponentServiceObjects
- Enclosing class:
- ComponentServiceObjectsHelper
private static final class ComponentServiceObjectsHelper.ComponentServiceObjectsImpl extends java.lang.Object implements org.osgi.service.component.ComponentServiceObjects
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
deactivated
private java.util.List<java.lang.Object>
instances
private org.osgi.framework.ServiceObjects
serviceObjects
-
Constructor Summary
Constructors Constructor Description ComponentServiceObjectsImpl(org.osgi.framework.ServiceObjects so)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close this instance and unget all services.void
deactivate()
java.lang.Object
getService()
org.osgi.framework.ServiceReference<?>
getServiceReference()
java.lang.String
toString()
void
ungetService(java.lang.Object service)
-
-
-
Method Detail
-
deactivate
public void deactivate()
-
close
public void close()
Close this instance and unget all services.
-
getService
public java.lang.Object getService()
- Specified by:
getService
in interfaceorg.osgi.service.component.ComponentServiceObjects
-
ungetService
public void ungetService(java.lang.Object service)
- Specified by:
ungetService
in interfaceorg.osgi.service.component.ComponentServiceObjects
-
getServiceReference
public org.osgi.framework.ServiceReference<?> getServiceReference()
- Specified by:
getServiceReference
in interfaceorg.osgi.service.component.ComponentServiceObjects
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-