public class LocalResourceImpl extends ResourceImpl implements LocalResource
| Modifier and Type | Field and Description |
|---|---|
private org.osgi.framework.Bundle |
m_bundle |
CATEGORY, COPYRIGHT, DESCRIPTION, DOCUMENTATION_URI, ID, JAVADOC_URI, LICENSE_URI, MANIFEST_VERSION, PRESENTATION_NAME, SIZE, SOURCE_URI, SYMBOLIC_NAME, URI, VERSION| Constructor and Description |
|---|
LocalResourceImpl(org.osgi.framework.Bundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
private void |
convertExportServiceToCapability(java.util.Dictionary dict,
org.osgi.framework.Bundle bundle) |
org.osgi.framework.Bundle |
getBundle() |
private void |
initialize() |
boolean |
isLocal()
Returns whether this resource is a local one or not.
|
java.lang.String |
toString() |
addCapability, addCategory, addRequire, equals, getCapabilities, getCategories, getId, getPresentationName, getProperties, getRepository, getRequirements, getSize, getSymbolicName, getURI, getVersion, hashCode, put, put, setRepositoryclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCapabilities, getCategories, getId, getPresentationName, getProperties, getRequirements, getSize, getSymbolicName, getURI, getVersionLocalResourceImpl(org.osgi.framework.Bundle bundle)
throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionpublic boolean isLocal()
ResourceisLocal in interface ResourceisLocal in class ResourceImplpublic org.osgi.framework.Bundle getBundle()
getBundle in interface org.osgi.framework.BundleReferenceprivate void initialize()
throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionprivate void convertExportServiceToCapability(java.util.Dictionary dict,
org.osgi.framework.Bundle bundle)
public java.lang.String toString()
toString in class ResourceImpl