org.apache.felix.bundlerepository.impl
Class SystemRepositoryImpl

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

public class SystemRepositoryImpl
extends java.lang.Object
implements Repository


Field Summary
 
Fields inherited from interface org.apache.felix.bundlerepository.Repository
LOCAL, SYSTEM
 
Constructor Summary
SystemRepositoryImpl(org.osgi.framework.BundleContext context, org.apache.felix.utils.log.Logger logger)
           
 
Method Summary
 long getLastModified()
          Return the last modification date of this repository
 java.lang.String getName()
          Return the name of this repository.
 Resource[] getResources()
          Return the resources for this repository.
 java.lang.String getURI()
          Return the associated URL for the repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemRepositoryImpl

public SystemRepositoryImpl(org.osgi.framework.BundleContext context,
                            org.apache.felix.utils.log.Logger logger)
Method Detail

getURI

public java.lang.String getURI()
Description copied from interface: Repository
Return the associated URL for the repository.

Specified by:
getURI in interface Repository

getResources

public Resource[] getResources()
Description copied from interface: Repository
Return the resources for this repository.

Specified by:
getResources in interface Repository

getName

public java.lang.String getName()
Description copied from interface: Repository
Return the name of this repository.

Specified by:
getName in interface Repository
Returns:
a non-null name

getLastModified

public long getLastModified()
Description copied from interface: Repository
Return the last modification date of this repository

Specified by:
getLastModified in interface Repository
Returns:
the last modification date


Copyright © 2011. All Rights Reserved.