diff --git a/joram/a3/common/pom.xml b/joram/a3/common/pom.xml
index ea2a52a7abdd8045a6872f07cdd4ed89d2dbeaeb..17bd1fbb728ce22520e242a2cb8683463055e606 100644
--- a/joram/a3/common/pom.xml
+++ b/joram/a3/common/pom.xml
@@ -51,7 +51,7 @@
org.osgi
- org.osgi
+ org.osgi.core
\ No newline at end of file
diff --git a/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/A3ManagedService.java b/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/A3ManagedService.java
index 1753d842e4043066f00fb0622f9e23959d49edd9..f5a5f794a533dd583cb89078fd21d97531d798b6 100644
--- a/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/A3ManagedService.java
+++ b/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/A3ManagedService.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -88,7 +88,7 @@ public class A3ManagedService extends CommonService implements ManagedService {
registration = bundleContext.registerService(
ManagedService.class.getName(),
this,
- props);
+ (Dictionary)props);
}
protected void doStop() {
diff --git a/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/CommonService.java b/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/CommonService.java
index 3b1b801073278d02dffd5d77ff1723e556deaa8d..23c74ee91ab5bbf8bb23e48ba7d5853b1f4294fa 100644
--- a/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/CommonService.java
+++ b/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/CommonService.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -98,7 +98,7 @@ public class CommonService {
bundleContext.registerService(
ServerDesc.class.getName(),
serverDesc,
- props);
+ (Dictionary)props);
if (logmon.isLoggable(BasicLevel.DEBUG))
logmon.log(BasicLevel.DEBUG, "CommonService ServerDesc register: " + serverDesc);
}
diff --git a/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/JoramManagedService.java b/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/JoramManagedService.java
index c0074681c494c4bf65003eb793b5669ce63703bb..1c4da6aad1cf2f433754bfc856bcbf424f159e18 100644
--- a/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/JoramManagedService.java
+++ b/joram/a3/services/src/main/java/fr/dyade/aaa/agent/services/JoramManagedService.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -89,7 +89,7 @@ public class JoramManagedService extends CommonService implements ManagedService
registration = bundleContext.registerService(
ManagedService.class.getName(),
this,
- props);
+ (Dictionary)props);
}
diff --git a/joram/jndi/client/src/main/java/fr/dyade/aaa/jndi2/osgi/Activator.java b/joram/jndi/client/src/main/java/fr/dyade/aaa/jndi2/osgi/Activator.java
index 9c559c8a1299212e02273e9170f2830677762cff..887cceea878467307a7691192f150495870d6825 100644
--- a/joram/jndi/client/src/main/java/fr/dyade/aaa/jndi2/osgi/Activator.java
+++ b/joram/jndi/client/src/main/java/fr/dyade/aaa/jndi2/osgi/Activator.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2013 ScalAgent Distributed Technologies
+ * Copyright (C) 2013 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -22,6 +22,7 @@
*/
package fr.dyade.aaa.jndi2.osgi;
+import java.util.Dictionary;
import java.util.Properties;
import org.objectweb.util.monolog.api.BasicLevel;
@@ -54,7 +55,7 @@ public class Activator implements BundleActivator {
registration = context.registerService(
javax.naming.spi.ObjectFactory.class.getName(),
new scnURLContextFactory(),
- props);
+ (Dictionary)props);
}
public void stop(BundleContext context) throws Exception {
diff --git a/joram/joram/client/jca/src/main/java/org/objectweb/joram/client/connector/JoramAdapter.java b/joram/joram/client/jca/src/main/java/org/objectweb/joram/client/connector/JoramAdapter.java
index b0512f1d664a79212b135af77fa5c0faf6568dce..9aac5b9a5070546817affcdca4992d6104e85db2 100644
--- a/joram/joram/client/jca/src/main/java/org/objectweb/joram/client/connector/JoramAdapter.java
+++ b/joram/joram/client/jca/src/main/java/org/objectweb/joram/client/connector/JoramAdapter.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2004 - 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2004 - 2016 ScalAgent Distributed Technologies
* Copyright (C) 2004 - 2006 Bull SA
*
* This library is free software; you can redistribute it and/or
@@ -27,6 +27,7 @@ package org.objectweb.joram.client.connector;
import java.io.FileNotFoundException;
import java.net.ConnectException;
import java.util.Date;
+import java.util.Dictionary;
import java.util.Properties;
import javax.jms.Connection;
@@ -510,7 +511,7 @@ public final class JoramAdapter extends JoramResourceAdapter implements JoramAda
registration = Activator.context.registerService(
AdminItf.class.getName(),
wrapper,
- props);
+ (Dictionary) props);
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, "Bundle context " + Activator.context + " registerService AdminWrapper " + getName());
}
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/Activator.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/Activator.java
index 4f20f5be8b6883b0bd9785b122dbaa6c64cd6585..a44db61ede4a3a600ae832f7394ccdd7821c7e7d 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/Activator.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/Activator.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 - 2013 ScalAgent Distributed Technologies
+ * Copyright (C) 2009 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -21,11 +21,15 @@
*/
package org.objectweb.joram.client.osgi;
+import javax.naming.spi.ObjectFactory;
+
+import org.objectweb.joram.client.jms.admin.AdminModule;
import org.objectweb.joram.client.jms.admin.JoramAdminConnect;
import org.objectweb.util.monolog.api.BasicLevel;
import org.objectweb.util.monolog.api.Logger;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
+import org.osgi.framework.ServiceReference;
import fr.dyade.aaa.common.Debug;
@@ -38,6 +42,8 @@ public class Activator implements BundleActivator {
public static final Logger logmon = Debug.getLogger(Activator.class.getName());
+ public static final String ADMIN_XML_PATH = "joram.adminXML";
+
private JoramAdminConnect joramAdminConnect;
private DestinationMSF destMSF = null;
private UserMSF userMSF = null;
@@ -84,6 +90,23 @@ public class Activator implements BundleActivator {
sfq = new ServiceFtpQueue(context);
salq = new ServiceAliasQueue(context);
sadmin = new ServiceAdmin(context);
+
+ ClassLoader myClassLoader = getClass().getClassLoader();
+ ClassLoader originalContextClassLoader = Thread.currentThread().getContextClassLoader();
+ try {
+ Thread.currentThread().setContextClassLoader(myClassLoader);
+ String adminXmlFile = context.getProperty(ADMIN_XML_PATH);
+ if (adminXmlFile != null) {
+ ServiceReference ref = context.getServiceReference(javax.naming.spi.ObjectFactory.class);
+ if (ref == null) {
+ if (logmon.isLoggable(BasicLevel.ERROR))
+ logmon.log(BasicLevel.ERROR, "No ServiceReference for javax.naming.spi.ObjectFactory, start jndi client bundle to use jndi.");
+ }
+ AdminModule.executeXMLAdmin(adminXmlFile);
+ }
+ } finally {
+ Thread.currentThread().setContextClassLoader(originalContextClassLoader);
+ }
}
/* (non-Javadoc)
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ConnectionFactoryMSF.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ConnectionFactoryMSF.java
index 6c0c2274b67f48db936948878cb388d7c70a1df1..2ff71606e503c71b79fbe8c41572b1e4ad50359e 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ConnectionFactoryMSF.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ConnectionFactoryMSF.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -104,7 +104,7 @@ public class ConnectionFactoryMSF implements ManagedServiceFactory {
registration = this.bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
cnxFactories = new HashMap();
jndiHelper = new JndiHelper();
jndiNames = new HashMap();
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/DestinationMSF.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/DestinationMSF.java
index 01e291f83708e0b1f08545c24c51a974c5774191..3d4be0549f12b82f83dcd9f3b885ac6bb79b212b 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/DestinationMSF.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/DestinationMSF.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -127,7 +127,7 @@ public class DestinationMSF implements ManagedServiceFactory {
registration = this.bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
destinations = new HashMap();
jndiHelper = new JndiHelper();
jndiNames = new HashMap();
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAcquisitionQueue.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAcquisitionQueue.java
index a41a636cdf1b5e6e12244c48e8923e3e150f61e3..389e333d8109220976f9892e3dca852a74e90d1c 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAcquisitionQueue.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAcquisitionQueue.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -98,7 +98,7 @@ public class ServiceAcquisitionQueue extends ServiceDestination implements Manag
registration = bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
}
public void doStop() {
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAcquisitionTopic.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAcquisitionTopic.java
index cbd09e52a60e13d5d967971c88c3b4d98912de68..79706f0c2fa36aa409e04e417570f46c09c960a6 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAcquisitionTopic.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAcquisitionTopic.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -98,7 +98,7 @@ public class ServiceAcquisitionTopic extends ServiceDestination implements Manag
registration = bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
}
public void doStop() {
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAdmin.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAdmin.java
index 51e0d2851560633445004abe09023e1ee8376ab8..5b8737f7a643aac5586a36b95e269f325cb86813 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAdmin.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAdmin.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2013 ScalAgent Distributed Technologies
+ * Copyright (C) 2013 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -116,7 +116,7 @@ public class ServiceAdmin implements ManagedServiceFactory {
registration = this.bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
wrappers = new HashMap();
connections = new HashMap();
}
@@ -232,7 +232,7 @@ public class ServiceAdmin implements ManagedServiceFactory {
registration = bundleContext.registerService(
AdminItf.class.getName(),
wrapper,
- props);
+ (Dictionary)props);
if (logmon.isLoggable(BasicLevel.DEBUG))
logmon.log(BasicLevel.DEBUG, "doUpdated registration = " + registration);
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAliasQueue.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAliasQueue.java
index a8f0289ddfa7b731f179397e0b50a12a93e7f7cc..555b01c0b1ce3cdbb1995f3316ae94a0cb47d2cf 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAliasQueue.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceAliasQueue.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -94,7 +94,7 @@ public class ServiceAliasQueue extends ServiceDestination implements ManagedServ
registration = bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
}
public void doStop() {
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceConnectionFactory.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceConnectionFactory.java
index f73d9a72edb5ed9ce1412ea1c372e678742cf5fc..5cc9aefb7c05e8e3dfb8edf148faf94cb9714cdc 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceConnectionFactory.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceConnectionFactory.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 - 2013 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -103,7 +103,7 @@ public class ServiceConnectionFactory implements ManagedServiceFactory {
registration = this.bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
cnxFactories = new HashMap();
jndiHelper = new JndiHelper();
jndiNames = new HashMap();
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDestination.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDestination.java
index 5d2b6d6b43a1749d848c3a6185b62414ba8d1e79..5f2206f6bd9d6cc8948804d1de6e368a35381054 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDestination.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDestination.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 - 2013 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -303,12 +303,12 @@ public abstract class ServiceDestination {
reg = bundleContext.registerService(
javax.jms.Queue.class.getName(),
dest,
- props);
+ (Dictionary)props);
else
reg = bundleContext.registerService(
javax.jms.Topic.class.getName(),
dest,
- props);
+ (Dictionary)props);
registrations.put(pid, reg);
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDistributionQueue.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDistributionQueue.java
index 62ae0a617c615cad19a34096fc54991953bfd820..d9a34c6801c2ef0810088d228d6216e05eef6b08 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDistributionQueue.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDistributionQueue.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -97,7 +97,7 @@ public class ServiceDistributionQueue extends ServiceDestination implements Mana
registration = bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
}
public void doStop() {
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDistributionTopic.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDistributionTopic.java
index db3cb08b5d983fc066baa02772f0a0732afdb71d..e73af571696fb3d2dfbd997270b357f4600f2e08 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDistributionTopic.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceDistributionTopic.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -97,7 +97,7 @@ public class ServiceDistributionTopic extends ServiceDestination implements Mana
registration = bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
}
public void doStop() {
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceFtpQueue.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceFtpQueue.java
index fc82d138c9ad0c09b38b9f8c5378fd0c7db9f4f9..94adb0155d19b6e2555731e9d229f19990a078c2 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceFtpQueue.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceFtpQueue.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -97,7 +97,7 @@ public class ServiceFtpQueue extends ServiceDestination implements ManagedServic
registration = bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
}
public void doStop() {
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceQueue.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceQueue.java
index a279afddb6e439e09dd90568c1ab9a769395374c..f470ce38b73d4f6733b91ae5a75789e64a31ca60 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceQueue.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceQueue.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -93,7 +93,7 @@ public class ServiceQueue extends ServiceDestination implements ManagedServiceFa
registration = bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
}
public void doStop() {
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceSchedulerQueue.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceSchedulerQueue.java
index 758b27e0cc3b52e1aab1b72df7442442a72b80ca..d6268742c4a18cac899011461d0d34adede1882c 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceSchedulerQueue.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceSchedulerQueue.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -94,7 +94,7 @@ public class ServiceSchedulerQueue extends ServiceDestination implements Managed
registration = bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
}
public void doStop() {
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceTopic.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceTopic.java
index 4d893edd893490a06fdc6bb4c295a4826d1a9aa9..c80830b8e7c0e82e8e64ab92af027e05a0e82f39 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceTopic.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceTopic.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -94,7 +94,7 @@ public class ServiceTopic extends ServiceDestination implements ManagedServiceFa
registration = bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
}
public void doStop() {
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceUser.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceUser.java
index c9f130c9d024ad9bc7a654a19232431c9a578cc3..269c536f0715932c6324828f59a97cc2d511e5bf 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceUser.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/ServiceUser.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -123,7 +123,7 @@ public class ServiceUser implements ManagedServiceFactory {
registration = this.bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
users = new HashMap();
jndiHelper = new JndiHelper();
jndiNames = new HashMap();
diff --git a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/UserMSF.java b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/UserMSF.java
index 96cf5ba5e3cfa2bd3546a6ad3abd0dd26d4f3c6f..ebb556fdb91a087bd2ecfb38961352446ef93410 100644
--- a/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/UserMSF.java
+++ b/joram/joram/client/jms/src/main/java/org/objectweb/joram/client/osgi/UserMSF.java
@@ -1,6 +1,6 @@
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
- * Copyright (C) 2012 ScalAgent Distributed Technologies
+ * Copyright (C) 2012 - 2016 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -122,7 +122,7 @@ public class UserMSF implements ManagedServiceFactory {
registration = this.bundleContext.registerService(
ManagedServiceFactory.class.getName(),
this,
- props);
+ (Dictionary)props);
users = new HashMap();
jndiHelper = new JndiHelper();
jndiNames = new HashMap();
diff --git a/joram/joram/jca/ra/pom.xml b/joram/joram/jca/ra/pom.xml
index 2e08e2a12dc2249127303f4919260cb572aab4e5..6d8d5619eff2d75d85038b95ddaf1118ed8bae4f 100644
--- a/joram/joram/jca/ra/pom.xml
+++ b/joram/joram/jca/ra/pom.xml
@@ -62,7 +62,7 @@
org.osgi
- org.osgi
+ org.osgi.core
diff --git a/joram/joram/jca/remote/pom.xml b/joram/joram/jca/remote/pom.xml
index 1527383ff824e2b130e4e209d6871384e12bf6b2..b9587d127f1ad47ec8a85615c552549f93e03f45 100644
--- a/joram/joram/jca/remote/pom.xml
+++ b/joram/joram/jca/remote/pom.xml
@@ -52,7 +52,7 @@
org.osgi
- org.osgi
+ org.osgi.core
\ No newline at end of file
diff --git a/joram/joram/mom/amqp/pom.xml b/joram/joram/mom/amqp/pom.xml
index cf58f4fea77ac8a270bb6a4c4010a328ceeb98e5..fb0200946af34e1b917338c925ace9d16d4ce552 100644
--- a/joram/joram/mom/amqp/pom.xml
+++ b/joram/joram/mom/amqp/pom.xml
@@ -52,7 +52,7 @@
${project.version}
- org.osgi
+ org.osgi.core
org.osgi
diff --git a/joram/pom.xml b/joram/pom.xml
index 05ad6535e9018dcca880caa5ad5a7e03be22de1d..3c2f19214ad39f7b4339927b6b1036de5a2d5b2c 100644
--- a/joram/pom.xml
+++ b/joram/pom.xml
@@ -180,19 +180,19 @@
1.52
1.0.0
1.0.13
- 4.2.0
- 3.0.0
+ 5.0.0
+ 6.0.0
1.1.1
1.2.2
5.1.6
1.0.3
- 4.2.0
+ 5.4.0
1.4.2
1.1.2
1.4.1
- 0.10.0
- 0.12.0
- 0.10.0
+ 0.16.2
+ 0.16.0
+ 0.12.0
2.3.7
UTF-8
@@ -232,8 +232,8 @@
org.osgi
- org.osgi
- ${org.osgi.version}
+ org.osgi.core
+ ${org.osgi.core.version}
jar
@@ -327,7 +327,7 @@
org.osgi
- org.osgi
+ org.osgi.core
provided
diff --git a/joram/shell/a3/pom.xml b/joram/shell/a3/pom.xml
index a57b544e00ab1aea26b533f6bdb1def5c9ec9191..39899139b3780e26e602784904d3ba5adaee85f7 100644
--- a/joram/shell/a3/pom.xml
+++ b/joram/shell/a3/pom.xml
@@ -34,7 +34,7 @@
org.osgi
- org.osgi
+ org.osgi.core
org.ow2.joram
diff --git a/joram/shell/jndi/pom.xml b/joram/shell/jndi/pom.xml
index 3044e58c6d7d41c60f7701241d2b7a65a68c7698..b37dd094b05246cce77175ce8dbcf8473512aa47 100644
--- a/joram/shell/jndi/pom.xml
+++ b/joram/shell/jndi/pom.xml
@@ -32,7 +32,7 @@
org.osgi
- org.osgi
+ org.osgi.core
org.ow2.joram
diff --git a/joram/shell/mom/pom.xml b/joram/shell/mom/pom.xml
index 56b420d68f778f412d5d403849edac4ddd28daee..f698be923f19915fae03b31150a019f4c1457023 100644
--- a/joram/shell/mom/pom.xml
+++ b/joram/shell/mom/pom.xml
@@ -33,7 +33,7 @@
org.osgi
- org.osgi
+ org.osgi.core
org.ow2.joram