01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.php
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package edu.iu.uis.eden.messaging.bam;
18:
19: import java.lang.reflect.Method;
20: import java.util.List;
21:
22: import javax.xml.namespace.QName;
23:
24: import org.kuali.rice.definition.ObjectDefinition;
25:
26: import edu.iu.uis.eden.messaging.ServiceInfo;
27:
28: /**
29: * Service for recording and accessing entries in the BAM.
30: *
31: * @author Kuali Rice Team (kuali-rice@googlegroups.com)
32: */
33: public interface BAMService {
34:
35: public List<BAMTargetEntry> getCallsForService(QName serviceName);
36:
37: public List<BAMTargetEntry> getCallsForRemotedClasses(
38: ObjectDefinition objDef);
39:
40: public BAMTargetEntry recordClientInvocation(
41: ServiceInfo serviceInfo, Object target, Method method,
42: Object[] params);
43:
44: public BAMTargetEntry recordClientInvocationError(
45: Throwable throwable, BAMTargetEntry bamTargetEntry);
46:
47: public BAMTargetEntry recordServerInvocation(Object target,
48: ServiceInfo entry, Method method, Object[] params);
49:
50: public BAMTargetEntry recordServerInvocationError(
51: Throwable throwable, BAMTargetEntry bamTargetEntry);
52:
53: public void clearBAMTables();
54:
55: public List<BAMTargetEntry> getCallsForService(QName serviceName,
56: String methodName);
57:
58: public List<BAMTargetEntry> getCallsForRemotedClasses(
59: ObjectDefinition objDef, String methodName);
60: }
|