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 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 ResourceImpl
addCapability, addCategory, addRequire, equals, getCapabilities, getCategories, getId, getPresentationName, getProperties, getRepository, getRequirements, getSize, getSymbolicName, getURI, getVersion, hashCode, put, put, setRepositoryMethods inherited from interface Resource
getCapabilities, getCategories, getId, getPresentationName, getProperties, getRequirements, getSize, getSymbolicName, getURI, getVersion
-
Method Details
-
isLocal
public boolean isLocal()Description copied from interface:ResourceReturns 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:
isLocalin interfaceResource- Overrides:
isLocalin classResourceImpl
-
getBundle
public org.osgi.framework.Bundle getBundle()- Specified by:
getBundlein interfaceorg.osgi.framework.BundleReference
-
toString
- Overrides:
toStringin classResourceImpl
-