1 package org.kuali.rice.ksb.server;
2
3 import org.kuali.rice.core.api.util.ShadowingInstrumentableClassLoader;
4 import org.kuali.rice.ksb.messaging.remotedservices.ServiceCallInformationHolder;
5
6
7
8
9
10
11 public class KsbTestClientClassLoader extends ShadowingInstrumentableClassLoader {
12
13 public KsbTestClientClassLoader() {
14 super(KsbTestClientClassLoader.class.getClassLoader());
15 excludeClass(ServiceCallInformationHolder.class.getName());
16 }
17
18 @Override
19 protected boolean isExcluded(String className) {
20
21 if (className.startsWith("org.eclipse")) {
22 return false;
23 }
24
25
26
27 if (className.startsWith("javax.ws.rs.")) {
28 return false;
29 }
30 return super.isExcluded(className);
31 }
32
33 }