Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WebGUI
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kieker
WebGUI
Commits
0b0a082b
Commit
0b0a082b
authored
13 years ago
by
Nils Christian Ehmke
Browse files
Options
Downloads
Patches
Plain Diff
Uploaded the new kieker-jar. Experimented with the classloading for the analysis.
parent
93266169
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Kieker.WebGUI/lib/kieker-1.5-SNAPSHOT.jar
+0
-0
0 additions, 0 deletions
Kieker.WebGUI/lib/kieker-1.5-SNAPSHOT.jar
Kieker.WebGUI/src/main/java/kieker/webgui/common/PluginClassLoader.java
+7
-1
7 additions, 1 deletion
...src/main/java/kieker/webgui/common/PluginClassLoader.java
with
7 additions
and
1 deletion
Kieker.WebGUI/lib/kieker-1.5-SNAPSHOT.jar
+
0
−
0
View file @
0b0a082b
No preview for this file type
This diff is collapsed.
Click to expand it.
Kieker.WebGUI/src/main/java/kieker/webgui/common/PluginClassLoader.java
+
7
−
1
View file @
0b0a082b
...
@@ -37,7 +37,7 @@ import kieker.analysis.AnalysisController;
...
@@ -37,7 +37,7 @@ import kieker.analysis.AnalysisController;
* @author Nils Christian Ehmke
* @author Nils Christian Ehmke
* @version 1.0
* @version 1.0
*/
*/
public
final
class
PluginClassLoader
{
public
final
class
PluginClassLoader
extends
ClassLoader
{
/**
/**
* The singleton instance of this class.
* The singleton instance of this class.
...
@@ -103,7 +103,13 @@ public final class PluginClassLoader {
...
@@ -103,7 +103,13 @@ public final class PluginClassLoader {
* @throws ClassNotFoundException
* @throws ClassNotFoundException
* If a class with the given name could not be found.
* If a class with the given name could not be found.
*/
*/
@Override
public
Class
<?>
loadClass
(
final
String
name
)
throws
ClassNotFoundException
{
public
Class
<?>
loadClass
(
final
String
name
)
throws
ClassNotFoundException
{
try
{
return
ClassLoader
.
getSystemClassLoader
().
loadClass
(
name
);
}
catch
(
ClassNotFoundException
ex
)
{
/* Ignore exception. */
}
synchronized
(
this
)
{
synchronized
(
this
)
{
/* Run through all available class loaders and try to find the correct class. */
/* Run through all available class loaders and try to find the correct class. */
final
Iterator
<
URLClassLoader
>
classLoaderIter
=
this
.
classLoaders
.
values
().
iterator
();
final
Iterator
<
URLClassLoader
>
classLoaderIter
=
this
.
classLoaders
.
values
().
iterator
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment