org.apache.felix.bundlerepository
Class RepositoryImpl
java.lang.Object
org.apache.felix.bundlerepository.RepositoryImpl
- All Implemented Interfaces:
- Repository
public class RepositoryImpl
- extends Object
- implements Repository
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.