public class ClassLoaderWire
extends java.lang.Object
| Constructor and Description |
|---|
ClassLoaderWire(java.net.URI targetClassLoader)
Constructor that makes the entire contents of the target classloader visible.
|
ClassLoaderWire(java.net.URI targetClassLoader,
java.lang.String packageName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPackageName()
Returns the package visible through the wire or null if the entire contents are visible.
|
java.net.URI |
getTargetClassLoader()
Returns the target classloader.
|
public ClassLoaderWire(java.net.URI targetClassLoader,
java.lang.String packageName)
targetClassLoader - the URI of the target classloaderpackageName - the package name that is visible through the wire.public ClassLoaderWire(java.net.URI targetClassLoader)
targetClassLoader - the URI of the target classloaderpublic java.net.URI getTargetClassLoader()
public java.lang.String getPackageName()