KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > tools > OPP > srcgen > MethodResolver


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: MethodResolver.java,v 1.2 2003/11/07 21:34:22 per_nyfelt Exp $
8
package org.ozoneDB.tools.OPP.srcgen;
9
10 import java.util.Map JavaDoc;
11
12 /**
13  * Common interface for resolving update methods
14  * Date: 2003-sep-24
15  * Time: 20:36:04
16  * @author Joakim Ohlrogge
17  */

18 public interface MethodResolver {
19     /**
20      * interface that recievers of update methods must implement
21      */

22     interface UpdateMethodBag {
23         void addMethod(String JavaDoc methodName, int lockLevel);
24
25         boolean contains(String JavaDoc methodName);
26     }
27
28     void resolveMethods(String JavaDoc className, MethodResolver.UpdateMethodBag result) throws ResolverException;
29 }
30
Popular Tags