org.apache.xbean.server.repository
Interface Repository

All Known Implementing Classes:
FileSystemRepository

public interface Repository

Repository is used to locate resources by id.

Since:
2.0
Author:
Dain Sundstrom

Method Summary
 URL getResource(String id)
          Gets a URL to the specified resource.
 

Method Detail

getResource

URL getResource(String id)
Gets a URL to the specified resource.

Parameters:
id - the id of the resource
Returns:
the location of the resource or null if the repository does not contain the resource


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.