You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cl...@apache.org on 2010/04/14 17:25:53 UTC
svn commit: r933987 - in /felix/trunk/ipojo: annotations/doc/ ant/doc/
api/doc/ api/src/main/java/org/apache/felix/ipojo/api/ arch/doc/
composite/doc/
composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/
core/doc/ handler/eventadm...
Author: clement
Date: Wed Apr 14 15:25:52 2010
New Revision: 933987
URL: http://svn.apache.org/viewvc?rev=933987&view=rev
Log:
Release Preparation - Update changelog
Cosmetic fix
Modified:
felix/trunk/ipojo/annotations/doc/changelog.txt
felix/trunk/ipojo/ant/doc/changelog.txt
felix/trunk/ipojo/api/doc/changelog.txt
felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/PrimitiveComponentType.java
felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/Service.java
felix/trunk/ipojo/arch/doc/changelog.txt
felix/trunk/ipojo/composite/doc/changelog.txt
felix/trunk/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/ServiceExporter.java
felix/trunk/ipojo/core/doc/changelog.txt
felix/trunk/ipojo/handler/eventadmin/doc/changelog.txt
felix/trunk/ipojo/handler/jmx/src/main/java/org/apache/felix/ipojo/handlers/jmx/DynamicMBeanImpl.java
felix/trunk/ipojo/handler/temporal/doc/changelog.txt
felix/trunk/ipojo/manipulator/doc/changelog.txt
felix/trunk/ipojo/online-manipulator/doc/changelog.txt
felix/trunk/ipojo/online-manipulator/src/main/java/org/apache/felix/ipojo/online/manipulator/IPOJOURLHandler.java
felix/trunk/ipojo/plugin/doc/changelog.txt
Modified: felix/trunk/ipojo/annotations/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/annotations/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/annotations/doc/changelog.txt (original)
+++ felix/trunk/ipojo/annotations/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,19 @@
+Changes from the 1.4.0 to 1.6.0
+-------------------------------
+** Bug
+ * [FELIX-1557] - Cosmetic change of the Bundle-Name and Bundle-SymbolicName in iPOJO annotations.
+
+** Improvement
+ * [FELIX-1426] - Service injection with Dynamic Proxies
+ * [FELIX-1427] - Service injection with Smart Proxies
+ * [FELIX-1906] - Allow calling a method when service properties of an already injected service are modified
+
+** New Feature
+ * [FELIX-2132] - Provides a way to control service exposition from the implementation class
+
+** Wish
+ * [FELIX-1940] - Add @Instance annotation to declare instances without metadata.xml
+
Changes from 1.2.0 to 1.4.0
---------------------------
** Bug
Modified: felix/trunk/ipojo/ant/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/ant/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/ant/doc/changelog.txt (original)
+++ felix/trunk/ipojo/ant/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,13 @@
+Changes from the 1.4.2 to 1.6.0
+-------------------------------
+** Bug
+ * [FELIX-1411] - Issue on windows to find components inside bundle
+
+** Improvement
+ * [FELIX-1427] - Service injection with Smart Proxies
+ * [FELIX-1906] - Allow calling a method when service properties of an already injected service are modified
+
+
Changes from the 1.4.0 to 1.4.2
-------------------------------
** Bug
Modified: felix/trunk/ipojo/api/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/api/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/api/doc/changelog.txt (original)
+++ felix/trunk/ipojo/api/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,13 @@
+Changes from the 1.4.0 to 1.6.0
+-------------------------------
+** Improvement
+ * [FELIX-1427] - Service injection with Smart Proxies
+ * [FELIX-1906] - Allow calling a method when service properties of an already injected service are modified
+ * [FELIX-2268] - Simplify setting of properties.
+
+** New Feature
+ * [FELIX-2132] - Provides a way to control service exposition from the implementation class
+
Version 1.4.0
-------------
Modified: felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/PrimitiveComponentType.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/PrimitiveComponentType.java?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/PrimitiveComponentType.java (original)
+++ felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/PrimitiveComponentType.java Wed Apr 14 15:25:52 2010
@@ -531,15 +531,14 @@ public class PrimitiveComponentType exte
* @param obj the value (can be <code>null</code>)
* @return the current component type
*/
- public PrimitiveComponentType addProperty(String key, Object obj) {
+ public PrimitiveComponentType addProperty(String key, Object obj) {
String value = null;
if (obj != null) {
value = obj.toString();
}
- addProperty(new Property().setName(key)
- .setValue(value));
- return this;
- }
+ addProperty(new Property().setName(key).setValue(value));
+ return this;
+ }
}
Modified: felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/Service.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/Service.java?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/Service.java (original)
+++ felix/trunk/ipojo/api/src/main/java/org/apache/felix/ipojo/api/Service.java Wed Apr 14 15:25:52 2010
@@ -187,7 +187,7 @@ public class Service implements HandlerC
* @param obj the initial value (can be <code>null</code>)
* @return the current service object.
*/
- public Service addProperty(String key, Object obj) {
+ public Service addProperty(String key, Object obj) {
Class clazz = String.class;
String value = null;
if (obj != null) {
@@ -195,12 +195,11 @@ public class Service implements HandlerC
value = obj.toString();
}
- addProperty(new ServiceProperty().setName(key)
- .setType(clazz.getName())
- .setValue(value));
-
- return this;
- }
+ addProperty(new ServiceProperty().setName(key).setType(clazz.getName())
+ .setValue(value));
+
+ return this;
+ }
/**
* Sets the provided service specification.
Modified: felix/trunk/ipojo/arch/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/arch/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/arch/doc/changelog.txt (original)
+++ felix/trunk/ipojo/arch/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,8 @@
+Changes from the 1.4.0 to 1.6.0
+-------------------------------
+** Improvement
+ * [FELIX-1427] - Service injection with Smart Proxies
+
Changes from 1.2.0 to 1.4.0
---------------------------
** Improvement
Modified: felix/trunk/ipojo/composite/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/composite/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/composite/doc/changelog.txt (original)
+++ felix/trunk/ipojo/composite/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,10 @@
+Changes from the 1.4.0 to 1.6.0
+-------------------------------
+** Improvement
+ * [FELIX-1427] - Service injection with Smart Proxies
+ * [FELIX-1906] - Allow calling a method when service properties of an already injected service are modified
+
+
Changes from 1.2.0 to 1.4.0
---------------------------
** Bug
Modified: felix/trunk/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/ServiceExporter.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/ServiceExporter.java?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/ServiceExporter.java (original)
+++ felix/trunk/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/ServiceExporter.java Wed Apr 14 15:25:52 2010
@@ -134,8 +134,8 @@ public class ServiceExporter extends Dep
.registerService(getSpecification().getName(), svc, getProps(reference));
m_registrations.put(reference, reg);
} else {
- throw new SecurityException("The bundle " + m_destination.getBundle().getBundleId() + " does not have the " +
- "permission to register the service " + getSpecification().getName());
+ throw new SecurityException("The bundle " + m_destination.getBundle().getBundleId() + " does not have the "
+ + "permission to register the service " + getSpecification().getName());
}
}
Modified: felix/trunk/ipojo/core/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/core/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/core/doc/changelog.txt (original)
+++ felix/trunk/ipojo/core/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,27 @@
+Changes from the 1.4.0 to 1.6.0
+-------------------------------
+** Bug
+ * [FELIX-1533] - Potential deadlock when stopping the underlying OSGi framework
+ * [FELIX-1965] - iPojo component is made available regardless of exception during validate
+ * [FELIX-2014] - Potential ClassCastException when a service property does not receive a value and is used in the constructor
+ * [FELIX-2019] - The Property value is 'null' in the Architecture description, while the value is well assigned to the component's field.
+ * [FELIX-2052] - Handler require callback are not called if the service (required) is registered before the instance of the handler has been started.
+ * [FELIX-2093] - iPOJO doesn't always use the correct class loader
+
+** Improvement
+ * [FELIX-1425] - Service Proxy Mode
+ * [FELIX-1426] - Service injection with Dynamic Proxies
+ * [FELIX-1427] - Service injection with Smart Proxies
+ * [FELIX-1532] - Be able to set the iPOJO Log Level from BND
+ * [FELIX-1741] - Allows the configuration handler description to retrieve the managed service PID
+ * [FELIX-1854] - Allows instances to directly declares service.* properties (pid, ranking, vendor, description)
+ * [FELIX-1885] - Ease CreationStrategy & iPOJOServiceFactory usage
+ * [FELIX-1906] - Allow calling a method when service properties of an already injected service are modified
+
+** New Feature
+ * [FELIX-2132] - Provides a way to control service exposition from the implementation class
+
+
Changes from 1.2.0 to 1.4.0
---------------------------
** Bug
Modified: felix/trunk/ipojo/handler/eventadmin/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/handler/eventadmin/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/handler/eventadmin/doc/changelog.txt (original)
+++ felix/trunk/ipojo/handler/eventadmin/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,8 @@
+Changes from the 1.4.0 to 1.6.0
+-------------------------------
+** Bug
+ * [FELIX-1938] - Bad error message when an Event Subscriber does not set the data type and data key
+
Changes from 1.2.0 to 1.4.0
---------------------------
** Improvement
Modified: felix/trunk/ipojo/handler/jmx/src/main/java/org/apache/felix/ipojo/handlers/jmx/DynamicMBeanImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/handler/jmx/src/main/java/org/apache/felix/ipojo/handlers/jmx/DynamicMBeanImpl.java?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/handler/jmx/src/main/java/org/apache/felix/ipojo/handlers/jmx/DynamicMBeanImpl.java (original)
+++ felix/trunk/ipojo/handler/jmx/src/main/java/org/apache/felix/ipojo/handlers/jmx/DynamicMBeanImpl.java Wed Apr 14 15:25:52 2010
@@ -232,16 +232,16 @@ public class DynamicMBeanImpl extends No
}
} else { // if non null value, make sure it is assignable to the
// attribute
- if (true /* TODO type.class.isAssignableFrom(value.getClass()) */) {
+// if (true /* TODO type.class.isAssignableFrom(value.getClass()) */) {
// propertyField.setValue(value);
// setValue(attributeField.getField(),null);
- m_instanceManager.onSet(null, propertyField.getField(), value);
- } else {
- throw new InvalidAttributeValueException(
- "Cannot set attribute " + name + " to a "
- + value.getClass().getName()
- + " object, String expected");
- }
+ m_instanceManager.onSet(null, propertyField.getField(), value);
+// } else {
+// throw new InvalidAttributeValueException(
+// "Cannot set attribute " + name + " to a "
+// + value.getClass().getName()
+// + " object, String expected");
+// }
}
}
Modified: felix/trunk/ipojo/handler/temporal/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/handler/temporal/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/handler/temporal/doc/changelog.txt (original)
+++ felix/trunk/ipojo/handler/temporal/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,9 @@
+Changes from the 1.4.2 to 1.6.0
+-------------------------------
+** Improvement
+ * [FELIX-1906] - Allow calling a method when service properties of an already injected service are modified
+
+
Changes from 1.2.0 to 1.4.0
---------------------------
** Improvement
Modified: felix/trunk/ipojo/manipulator/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/manipulator/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/manipulator/doc/changelog.txt (original)
+++ felix/trunk/ipojo/manipulator/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,14 @@
+Changes from the 1.4.2 to 1.6.0
+-------------------------------
+** Improvement
+ * [FELIX-1427] - Service injection with Smart Proxies
+ * [FELIX-1646] - Add @Handler annotation to declare handlers without metadata.xml
+ * [FELIX-1906] - Allow calling a method when service properties of an already injected service are modified
+
+** Wish
+ * [FELIX-1940] - Add @Instance annotation to declare instances without metadata.xml
+
+
Changes from the 1.4.0 to 1.4.2
-------------------------------
** Bug
Modified: felix/trunk/ipojo/online-manipulator/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/online-manipulator/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/online-manipulator/doc/changelog.txt (original)
+++ felix/trunk/ipojo/online-manipulator/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,10 @@
+Changes from the 1.4.2 to 1.6.0
+-------------------------------
+** Improvement
+ * [FELIX-1427] - Service injection with Smart Proxies
+ * [FELIX-1906] - Allow calling a method when service properties of an already injected service are modified
+
+
Changes from the 1.4.0 to 1.4.2
-------------------------------
** Bug
Modified: felix/trunk/ipojo/online-manipulator/src/main/java/org/apache/felix/ipojo/online/manipulator/IPOJOURLHandler.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/online-manipulator/src/main/java/org/apache/felix/ipojo/online/manipulator/IPOJOURLHandler.java?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/online-manipulator/src/main/java/org/apache/felix/ipojo/online/manipulator/IPOJOURLHandler.java (original)
+++ felix/trunk/ipojo/online-manipulator/src/main/java/org/apache/felix/ipojo/online/manipulator/IPOJOURLHandler.java Wed Apr 14 15:25:52 2010
@@ -165,7 +165,7 @@ public class IPOJOURLHandler extends org
}
out.deleteOnExit();
// Returns the URL Connection
- return out.toURL().openConnection();
+ return out.toURI().toURL().openConnection();
}
Modified: felix/trunk/ipojo/plugin/doc/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/plugin/doc/changelog.txt?rev=933987&r1=933986&r2=933987&view=diff
==============================================================================
--- felix/trunk/ipojo/plugin/doc/changelog.txt (original)
+++ felix/trunk/ipojo/plugin/doc/changelog.txt Wed Apr 14 15:25:52 2010
@@ -1,3 +1,13 @@
+Changes from the 1.4.2 to 1.6.0
+-------------------------------
+** Bug
+ * [FELIX-1411] - Issue on windows to find components inside bundle
+
+** Improvement
+ * [FELIX-1427] - Service injection with Smart Proxies
+ * [FELIX-1906] - Allow calling a method when service properties of an already injected service are modified
+
+
Changes from the 1.4.0 to 1.4.2
-------------------------------
** Bug