Skip to content

Commit 8e1e1d0

Browse files
committed
[JBEAP-28311][JBWS-4432]:Add getter for DelegateClassLoader
1 parent fc5b1f8 commit 8e1e1d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/org/jboss/ws/common/utils/DelegateClassLoader.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
*/
3838
public class DelegateClassLoader extends SecureClassLoader
3939
{
40+
4041
private final ClassLoader delegate;
4142

4243
private final ClassLoader parent;
@@ -136,4 +137,9 @@ public InputStream getResourceAsStream(final String name)
136137
}
137138
return (is == null) ? delegate.getResourceAsStream(name) : is;
138139
}
140+
141+
public ClassLoader getDelegate() {
142+
return delegate;
143+
}
144+
139145
}

0 commit comments

Comments
 (0)