org.apache.felix.bundlerepository
Class RepositoryImpl

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

public class RepositoryImpl
extends Object
implements Repository


Constructor Summary
RepositoryImpl(RepositoryAdminImpl repoAdmin, URL url, int hopCount, Logger logger)
           
RepositoryImpl(RepositoryAdminImpl repoAdmin, URL url, Logger logger)
           
 
Method Summary
 void addReferral(Referral referral)
           
 void addResource(Resource resource)
           
 long getLastModified()
           
 String getName()
           
 Referral[] getReferrals()
           
 Resource[] getResources()
           
 URL getURL()
           
protected  Object put(Object key, Object value)
          Default setter method when setting parsed data from the XML file, which currently ignores everything.
 void setLastmodified(String s)
           
 void setName(String name)
           
protected  void setURL(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(RepositoryAdminImpl repoAdmin,
                      URL url,
                      Logger logger)
               throws Exception
Throws:
Exception

RepositoryImpl

public RepositoryImpl(RepositoryAdminImpl repoAdmin,
                      URL url,
                      int hopCount,
                      Logger logger)
               throws Exception
Throws:
Exception
Method Detail

getURL

public URL getURL()
Specified by:
getURL in interface Repository

setURL

protected void setURL(URL url)

getResources

public Resource[] getResources()
Specified by:
getResources in interface Repository

addResource

public void addResource(Resource resource)

getReferrals

public Referral[] getReferrals()

addReferral

public void addReferral(Referral referral)
                 throws Exception
Throws:
Exception

getName

public String getName()
Specified by:
getName in interface Repository

setName

public void setName(String name)

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface Repository

setLastmodified

public void setLastmodified(String s)

put

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



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.