Clover coverage report - Code Coverage for hivemind release 1.0
Coverage timestamp: Wed Sep 22 2004 08:05:25 EDT
file stats: LOC: 61   Methods: 0
NCLOC: 11   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
RegistryAssembly.java - - - -
coverage
 1   
 //  Copyright 2004 The Apache Software Foundation
 2   
 //
 3   
 // Licensed under the Apache License, Version 2.0 (the "License");
 4   
 // you may not use this file except in compliance with the License.
 5   
 // You may obtain a copy of the License at
 6   
 //
 7   
 //     http://www.apache.org/licenses/LICENSE-2.0
 8   
 //
 9   
 // Unless required by applicable law or agreed to in writing, software
 10   
 // distributed under the License is distributed on an "AS IS" BASIS,
 11   
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12   
 // See the License for the specific language governing permissions and
 13   
 // limitations under the License.
 14   
 
 15   
 package org.apache.hivemind.impl;
 16   
 
 17   
 import org.apache.hivemind.ClassResolver;
 18   
 import org.apache.hivemind.Resource;
 19   
 import org.apache.hivemind.schema.Schema;
 20   
 
 21   
 /**
 22   
  * Interfaced used during the construnction of the {@link org.apache.hivemind.Registry}.
 23   
  *
 24   
  * @author Howard Lewis Ship
 25   
  */
 26   
 public interface RegistryAssembly
 27   
 {
 28   
     /**
 29   
      * Records a schema that may be referenced elsewhere within a module, or by some
 30   
      * other module entirely.
 31   
      * 
 32   
      * @param schemaId fully qualified id for the schema.
 33   
      * @param schema the Schema to be recorded for later reference
 34   
      */
 35   
     public void addSchema(String schemaId, Schema schema);
 36   
 
 37   
     /**
 38   
      * Returns a reference to a schema previously recorded by
 39   
      * {@link #addSchema(String, Schema)}.
 40   
      * 
 41   
      * @param schemaId fully qualified schema id
 42   
      * @return the schema, or null if no such schema exists
 43   
      */
 44   
 
 45   
     public Schema getSchema(String schemaId);
 46   
 
 47   
     /**
 48   
      * Adds a {@link Runnable} object that will be called after all
 49   
      * modules have been parsed. This is intended to support
 50   
      * support forward references to schemas.
 51   
      */
 52   
 
 53   
     public void addPostProcessor(Runnable postProcessor);
 54   
 
 55   
     /**
 56   
      * Enqueues another module to be parsed.
 57   
      */
 58   
 
 59   
     public void enqueueModuleParse(Resource resource, ClassResolver resolver);
 60   
 }
 61