Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frascati
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
114
Issues
114
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
frascati
frascati
Commits
3e834311
Commit
3e834311
authored
Jan 20, 2010
by
Christophe Demarey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a side-effect of the AF SCA-ization on the explorer.
parent
cf643034
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
1 deletion
+48
-1
explorer/core/src/main/java/org/ow2/frascati/explorer/ExplorerGUI.java
.../src/main/java/org/ow2/frascati/explorer/ExplorerGUI.java
+2
-1
explorer/core/src/main/java/org/ow2/frascati/explorer/FrascatiExplorerClassResolver.java
.../ow2/frascati/explorer/FrascatiExplorerClassResolver.java
+46
-0
No files found.
explorer/core/src/main/java/org/ow2/frascati/explorer/ExplorerGUI.java
View file @
3e834311
...
...
@@ -175,7 +175,7 @@ public class ExplorerGUI
}
// Search all META-INF/FraSCAti-Explorer.xml resources in the classpath and
// l
a
ad them with the Explorer Framework.
// l
o
ad them with the Explorer Framework.
// Then each JAR in the classpath could provide its own FraSCAti Explorer plugins.
try
{
for
(
URL
url
:
Collections
.
list
(
getClass
().
getClassLoader
().
getResources
(
EXPLORER_STD_CFG_FILES_NAME
)))
{
...
...
@@ -231,6 +231,7 @@ public class ExplorerGUI
// Init the domain manager
domainManager
.
init
();
FrascatiExplorerClassResolver
.
setClassLoader
(
getDomainConfig
().
getClassLoader
()
);
}
// --------------------------------------------------------------------------
...
...
explorer/core/src/main/java/org/ow2/frascati/explorer/FrascatiExplorerClassResolver.java
0 → 100644
View file @
3e834311
/***
* OW2 FraSCAti Explorer
* Copyright (C) 2008-2010 INRIA, USTL
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Contact: frascati@ow2.org
*
* Author: Christophe Demarey
*
* Contributor(s):
*
*/
package
org.ow2.frascati.explorer
;
import
java.net.URLClassLoader
;
import
org.objectweb.util.explorer.core.common.lib.ClassResolver
;
/**
* Utility class used to set the explorer framework classloader.
*/
public
class
FrascatiExplorerClassResolver
extends
ClassResolver
{
/**
* Set tthe explorer classloader to use.
*
* @param classLoader an URLClassLoader.
*/
public
static
void
setClassLoader
(
ClassLoader
classLoader
)
{
current_
=
(
URLClassLoader
)
classLoader
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment