Clover coverage report - Code Coverage for hivemind release 1.0-beta-1
Coverage timestamp: Sat Jul 3 2004 09:41:37 EDT
file stats: LOC: 57   Methods: 0
NCLOC: 10   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
ServiceInterceptorContribution.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.internal;
 16   
 
 17   
 import org.apache.hivemind.InterceptorStack;
 18   
 import org.apache.hivemind.Locatable;
 19   
 
 20   
 /**
 21   
  * A contribution to a service extension point that creates an interceptor.
 22   
  *
 23   
  * @author Howard Lewis Ship
 24   
  */
 25   
 public interface ServiceInterceptorContribution extends Locatable
 26   
 {
 27   
     /**
 28   
      * Returns the id of the factory that creates the interceptor.
 29   
      * Interceptor factories are simply another HiveMind service,
 30   
      * one that implements {@link ServiceInterceptorFactory}.
 31   
      */
 32   
     public String getFactoryServiceId();
 33   
 
 34   
     /**
 35   
      * Invoked to actually create the interceptor and push it onto the stack.
 36   
      */
 37   
     public void createInterceptor(InterceptorStack stack);
 38   
 
 39   
     /**
 40   
      * Returns a list interceptors service ids as a comma seperated list.
 41   
      * The behavior provided by these interceptors should
 42   
      * <em>precede</em> the behavior of this interceptor.
 43   
      * 
 44   
      * <p>Each service id is fully qualified. May return null.
 45   
      */
 46   
 
 47   
     public String getPrecedingInterceptorIds();
 48   
 
 49   
     /**
 50   
      * 
 51   
      * As {@link #getPrecedingInterceptorIds()}, but the indicating
 52   
      * interceptors's behavior should <em>follow</em> this interceptor's.
 53   
      */
 54   
 
 55   
     public String getFollowingInterceptorIds();
 56   
 }
 57