View Javadoc

1   /*
2    * 
3    * $Revision: 1.3 $
4    * $Date: 2005/03/15 21:53:59 $
5    *
6    * ====================================================================
7    * struts-it
8    * Copyright (C) 2004-2005 - Manfred Wolff and the strutsit community
9    * 
10   * Licensed under the Apache License, Version 2.0 (the "License");
11   * you may not use this file except in compliance with the License.
12   * You may obtain a copy of the License at
13   * 
14   *      http://www.apache.org/licenses/LICENSE-2.0
15   * 
16   * Unless required by applicable law or agreed to in writing, software
17   * distributed under the License is distributed on an "AS IS" BASIS,
18   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   * See the License for the specific language governing permissions and
20   * limitations under the License.
21   *
22   * Projekt       : struts-it solutions for webbased projects
23   * Part          : The struts-it architecture
24   * Created       : 26.02.2005 mwolff
25   */
26  package org.strutsit.architecture.service;
27  
28  import org.apache.commons.chain.Context;
29  
30  /***
31   * @author mwolff Marker Interface for a Service
32   */
33  public interface Service {
34  
35      /***
36       * Executes the business logic.
37       * 
38       * @param context A context with informations.
39       */
40      void execute(Context context) throws Exception;
41  }