Class LocalResourceImpl
java.lang.Object
org.apache.felix.bundlerepository.impl.ResourceImpl
org.apache.felix.bundlerepository.impl.LocalResourceImpl
- All Implemented Interfaces:
LocalResource
,Resource
,org.osgi.framework.BundleReference
-
Field Summary
Fields inherited from interface org.apache.felix.bundlerepository.Resource
CATEGORY, COPYRIGHT, DESCRIPTION, DOCUMENTATION_URI, ID, JAVADOC_URI, LICENSE_URI, MANIFEST_VERSION, PRESENTATION_NAME, SIZE, SOURCE_URI, SYMBOLIC_NAME, URI, VERSION
-
Method Summary
Methods inherited from class org.apache.felix.bundlerepository.impl.ResourceImpl
addCapability, addCategory, addRequire, equals, getCapabilities, getCategories, getId, getPresentationName, getProperties, getRepository, getRequirements, getSize, getSymbolicName, getURI, getVersion, hashCode, put, put, setRepository
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.felix.bundlerepository.Resource
getCapabilities, getCategories, getId, getPresentationName, getProperties, getRequirements, getSize, getSymbolicName, getURI, getVersion
-
Method Details
-
isLocal
public boolean isLocal()Description copied from interface:Resource
Returns whether this resource is a local one or not. Local resources are already available in the OSGi framework and thus will be preferred over other resources.- Specified by:
isLocal
in interfaceResource
- Overrides:
isLocal
in classResourceImpl
-
getBundle
public org.osgi.framework.Bundle getBundle()- Specified by:
getBundle
in interfaceorg.osgi.framework.BundleReference
-
toString
- Overrides:
toString
in classResourceImpl
-