| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final String | |
| private static final String | DEVMODE_OS_DEPENDENCIES_RESOURCE
devmode resource file containing Maven dependencies of rest agent jar |
| private static final Logger | |
| private final URLClassLoader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private URL | |
| public static URL | devModeResource()
returns either EE or OS resource file that contains rest agent dependencies null if not found |
| protected Class | findClass(String
The binary name of the class name)Overrides java. |
| protected URL | findResource(String
The resource name name)Overrides java. |
| protected Enumeration | findResources(String
The resource name name)Overrides java. URL objects
representing all the resources with the given name.
|
| public URL | getResource(String
The resource name name)Overrides java. |
| public InputStream | getResourceAsStream(String
The resource name name)Overrides java. |
| public Enumeration | getResources(String
The resource name name)Overrides java. |
| private URLClassLoader | |
| public synchronized Class | loadClass(String
The binary name of the class name, boolean If resolve)true then resolve the classOverrides java. |
| ARTIFACT_PATTERN | back to summary |
|---|---|
| private static final Pattern ARTIFACT_PATTERN | |
| DEVMODE_EE_DEPENDENCIES_RESOURCE | back to summary |
|---|---|
| private static final String DEVMODE_EE_DEPENDENCIES_RESOURCE | |
| DEVMODE_OS_DEPENDENCIES_RESOURCE | back to summary |
|---|---|
| private static final String DEVMODE_OS_DEPENDENCIES_RESOURCE devmode resource file containing Maven dependencies of rest agent jar | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| urlClassLoader | back to summary |
|---|---|
| private final URLClassLoader urlClassLoader | |
| DevModeClassLoader | back to summary |
|---|---|
| public DevModeClassLoader(URL depsReource, ClassLoader parent) constructor with a classloader parent | |
| constructMavenLocalFile | back to summary |
|---|---|
| private URL constructMavenLocalFile(String groupId, String artifactId, String type, String version) | |
| devModeResource | back to summary |
|---|---|
| public static URL devModeResource() returns either EE or OS resource file that contains rest agent dependencies null if not found | |
| findClass | back to summary |
|---|---|
| protected Class Overrides java. Doc from java. Finds the class with the specified binary name.
This method should be overridden by class loader implementations that
follow the delegation model for loading classes, and will be invoked by
the
| |
| findResource | back to summary |
|---|---|
| protected URL findResource(String name) Overrides java. Doc from java. Finds the resource with the given name. Class loader implementations should override this method. For resources in named modules then the method must implement the
rules for encapsulation specified in the
| |
| findResources | back to summary |
|---|---|
| protected Enumeration Overrides java. Doc from java. Returns an enumeration of For resources in named modules then the method must implement the
rules for encapsulation specified in the
| |
| getResource | back to summary |
|---|---|
| public URL getResource(String name) Overrides java. Doc from java. Finds the resource with the given name. A resource is some data (images, audio, text, etc) that can be accessed by class code in a way that is independent of the location of the code. The name of a resource is a ' Resources in named modules are subject to the encapsulation rules
specified by
| |
| getResourceAsStream | back to summary |
|---|---|
| public InputStream getResourceAsStream(String name) Overrides java. Doc from java. Returns an input stream for reading the specified resource. The search order is described in the documentation for Resources in named modules are subject to the encapsulation rules
specified by
| |
| getResources | back to summary |
|---|---|
| public Enumeration Overrides java. Doc from java. Finds all the resources with the given name. A resource is some data (images, audio, text, etc) that can be accessed by class code in a way that is independent of the location of the code. The name of a resource is a Resources in named modules are subject to the encapsulation rules
specified by
| |
| initUrlClassLoader | back to summary |
|---|---|
| private URLClassLoader initUrlClassLoader(URL depsReource) | |
| loadClass | back to summary |
|---|---|
| public synchronized Class Overrides java. Doc from java. Loads the class with the specified binary name. The default implementation of this method searches for classes in the following order:
If the class was found using the above steps, and the
Subclasses of Unless overridden, this method synchronizes on the result of
| |