Class RepositoryImpl
java.lang.Object
org.apache.felix.bundlerepository.impl.RepositoryImpl
- All Implemented Interfaces:
Repository
-
Field Summary
Fields inherited from interface org.apache.felix.bundlerepository.Repository
LOCAL, SYSTEM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addReferral
(Referral referral) void
addResource
(Resource resource) long
Return the last modification date of this repositorygetName()
Return the name of this repository.Referral[]
Resource[]
Return the resources for this repository.getURI()
Return the associated URL for the repository.protected Object
Default setter method when setting parsed data from the XML file, which currently ignores everything.void
setLastModified
(long lastModified) void
void
protected void
-
Constructor Details
-
RepositoryImpl
public RepositoryImpl() -
RepositoryImpl
-
-
Method Details
-
getURI
Description copied from interface:Repository
Return the associated URL for the repository.- Specified by:
getURI
in interfaceRepository
-
setURI
-
getResources
Description copied from interface:Repository
Return the resources for this repository.- Specified by:
getResources
in interfaceRepository
-
addResource
-
getReferrals
-
addReferral
- Throws:
Exception
-
getName
Description copied from interface:Repository
Return the name of this repository.- Specified by:
getName
in interfaceRepository
- Returns:
- a non-null name
-
setName
-
getLastModified
public long getLastModified()Description copied from interface:Repository
Return the last modification date of this repository- Specified by:
getLastModified
in interfaceRepository
- Returns:
- the last modification date
-
setLastModified
public void setLastModified(long lastModified) -
setLastModified
-
put
Default setter method when setting parsed data from the XML file, which currently ignores everything.
-