blob: e4f6c5f2c64e523647c69eecdc27a12baba1464b [file] [log] [blame]
crazybobleeb8cf1e52007-02-02 21:48:16 +00001/**
2 * Copyright (C) 2006 Google Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
crazybobleea6e73982007-02-02 00:21:07 +000016
17package com.google.inject;
18
limpbizkit163c48a2008-06-16 02:58:08 +000019import com.google.inject.internal.ErrorsException;
limpbizkit76c24b12008-12-25 04:32:41 +000020import com.google.inject.internal.InternalContext;
limpbizkit9dc32d42008-06-15 11:29:10 +000021
crazybobleea6e73982007-02-02 00:21:07 +000022/**
23 * @author crazybob@google.com (Bob Lee)
24*/
25interface ContextualCallable<T> {
limpbizkit163c48a2008-06-16 02:58:08 +000026 T call(InternalContext context) throws ErrorsException;
crazybobleea6e73982007-02-02 00:21:07 +000027}