org.apache.felix.bundlerepository
Class RepositoryImpl

java.lang.Object
  extended by org.apache.felix.bundlerepository.RepositoryImpl
All Implemented Interfaces:
org.osgi.service.obr.Repository

public class RepositoryImpl
extends java.lang.Object
implements org.osgi.service.obr.Repository


Constructor Summary
RepositoryImpl(java.net.URL url)
           
 
Method Summary
 void addResource(org.osgi.service.obr.Resource resource)
           
 long getLastModified()
           
 java.lang.String getName()
           
 org.osgi.service.obr.Resource[] getResources()
           
 java.net.URL getURL()
           
protected  java.lang.Object put(java.lang.Object key, java.lang.Object value)
          Default setter method when setting parsed data from the XML file, which currently ignores everything.
 void setLastmodified(java.lang.String s)
           
 void setName(java.lang.String name)
           
protected  void setURL(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryImpl

public RepositoryImpl(java.net.URL url)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getURL

public java.net.URL getURL()
Specified by:
getURL in interface org.osgi.service.obr.Repository

setURL

protected void setURL(java.net.URL url)

getResources

public org.osgi.service.obr.Resource[] getResources()
Specified by:
getResources in interface org.osgi.service.obr.Repository

addResource

public void addResource(org.osgi.service.obr.Resource resource)

getName

public java.lang.String getName()
Specified by:
getName in interface org.osgi.service.obr.Repository

setName

public void setName(java.lang.String name)

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface org.osgi.service.obr.Repository

setLastmodified

public void setLastmodified(java.lang.String s)

put

protected java.lang.Object put(java.lang.Object key,
                               java.lang.Object value)
Default setter method when setting parsed data from the XML file, which currently ignores everything.