Skip to content

Commit

Permalink
[JBWS-4432]:Add getter for DelegateClassLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
jimma committed Nov 13, 2024
1 parent f617268 commit c3dd647
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
*/
public class DelegateClassLoader extends SecureClassLoader
{

private final ClassLoader delegate;

private final ClassLoader parent;
Expand Down Expand Up @@ -133,4 +134,9 @@ public InputStream getResourceAsStream(final String name)
}
return (is == null) ? delegate.getResourceAsStream(name) : is;
}

public ClassLoader getDelegate() {
return delegate;
}

}

0 comments on commit c3dd647

Please sign in to comment.