org.apache.felix.bundlerepository.impl
Class LocalResourceImpl

java.lang.Object
  extended by org.apache.felix.bundlerepository.impl.ResourceImpl
      extended by org.apache.felix.bundlerepository.impl.LocalResourceImpl
All Implemented Interfaces:
Resource

public class LocalResourceImpl
extends ResourceImpl


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
 org.osgi.framework.Bundle getBundle()
           
 boolean isLocal()
          Returns whether this resource is a local one or not.
 java.lang.String toString()
           
 
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
 

Method Detail

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 interface Resource
Overrides:
isLocal in class ResourceImpl

getBundle

public org.osgi.framework.Bundle getBundle()

toString

public java.lang.String toString()
Overrides:
toString in class ResourceImpl


Copyright © 2011. All Rights Reserved.