KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > loom > components > util > profile > ProfileBuilder


1 /*
2  * Copyright (C) The Loom Group. All rights reserved.
3  *
4  * This software is published under the terms of the Loom
5  * Software License version 1.1, a copy of which has been included
6  * with this distribution in the LICENSE.txt file.
7  */

8 package org.codehaus.loom.components.util.profile;
9
10 import java.util.Map JavaDoc;
11
12 /**
13  * Load metadata for an Assembly from some source. The source is usually one or
14  * more xml config files.
15  *
16  * @author Peter Donald
17  * @version $Revision: 1.2 $ $Date: 2004/05/01 12:48:35 $
18  */

19 public interface ProfileBuilder
20 {
21     /**
22      * Load metadata from a particular source using specified map of parameters.
23      * The content of the parameters is left unspecified.
24      *
25      * @param parameters the parameters indicating method to load meta data
26      * source
27      * @return the set of components in metadata
28      * @throws java.lang.Exception if unable to load or resolve meta data for
29      * any reason
30      */

31     PartitionProfile buildProfile( Map JavaDoc parameters )
32         throws Exception JavaDoc;
33 }
34
Popular Tags