org.apache.aries.subsystem.core.internal
Class BundleResource

java.lang.Object
  extended by org.apache.aries.subsystem.core.internal.BundleResource
All Implemented Interfaces:
org.osgi.resource.Resource, org.osgi.service.repository.RepositoryContent

public class BundleResource
extends Object
implements org.osgi.resource.Resource, org.osgi.service.repository.RepositoryContent


Constructor Summary
BundleResource(org.apache.aries.util.filesystem.IFile content)
           
 
Method Summary
 List<org.osgi.resource.Capability> getCapabilities(String namespace)
           
 InputStream getContent()
           
 String getLocation()
           
 List<org.osgi.resource.Requirement> getRequirements(String namespace)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.osgi.resource.Resource
equals, hashCode
 

Constructor Detail

BundleResource

public BundleResource(org.apache.aries.util.filesystem.IFile content)
               throws org.apache.aries.application.modelling.ModellerException
Throws:
org.apache.aries.application.modelling.ModellerException
Method Detail

getCapabilities

public List<org.osgi.resource.Capability> getCapabilities(String namespace)
Specified by:
getCapabilities in interface org.osgi.resource.Resource

getLocation

public String getLocation()

getContent

public InputStream getContent()
Specified by:
getContent in interface org.osgi.service.repository.RepositoryContent

getRequirements

public List<org.osgi.resource.Requirement> getRequirements(String namespace)
Specified by:
getRequirements in interface org.osgi.resource.Resource

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.