1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 package com.sun.star.script.framework.provider.java;
25 
26 /**
27  * The Resolver interface is an interface common to all classes which
28  * want to implement an algorithm for obtaining a ScriptProxy object
29  * for a particular ScriptDescriptor and Class
30  *
31  * @author     Tomas O'Connor
32  * @created    August 2, 2002
33  */
34 
35 public interface Resolver {
36     /**
37      * Returns a ScriptProxy object for the given ScriptDescriptor and Class
38      *
39      * @param  sd  A script Descriptor
40      * @param  c   A Class
41      * @return     The ScriptProxy value
42      */
getProxy( ScriptDescriptor sd, Class c )43     public ScriptProxy getProxy( ScriptDescriptor sd, Class c )
44     throws NoSuchMethodException;
45 }
46 
47