org.apache.karaf.features.internal
Class RepositoryImpl

java.lang.Object
  extended by org.apache.karaf.features.internal.RepositoryImpl
All Implemented Interfaces:
Repository

public class RepositoryImpl
extends java.lang.Object
implements Repository

The repository implementation.


Constructor Summary
RepositoryImpl(java.net.URI uri)
           
 
Method Summary
 Feature[] getFeatures()
           
 java.lang.String getName()
           
 java.net.URI[] getRepositories()
           
 java.net.URI getURI()
           
protected  void interpolation(java.util.Properties properties)
           
 boolean isValid()
           
 void load()
           
 
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.URI uri)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Repository

getURI

public java.net.URI getURI()
Specified by:
getURI in interface Repository

getRepositories

public java.net.URI[] getRepositories()
                               throws Exception
Specified by:
getRepositories in interface Repository
Throws:
Exception

getFeatures

public Feature[] getFeatures()
                      throws Exception
Specified by:
getFeatures in interface Repository
Throws:
Exception

load

public void load()
          throws java.io.IOException
Throws:
java.io.IOException

interpolation

protected void interpolation(java.util.Properties properties)

isValid

public boolean isValid()
Specified by:
isValid in interface Repository


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