Revision: 1135936
Author: genspring
Date: 08:49:36, Mittwoch, 15. Juni 2011
Message:
if there's a valid id.getName,  the user can't use setModuleId to update the
moduleId because the simple bug here.

Correct the logic to update moduleId.
----
Modified :
/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/EjbModule.java

The above change can can break the ObjectNameBuilder logic if the new
moduleId is a file URI, as ':' is not allowed in a value - A
MalformedObjectNameException is thrown.

I have committed a simple fix in ObjectNameBuilder which resolves this, but
there is still the question of whether this is really a good idea? Maybe the
moduleId should be parsed in the EjbModule.setModuleId call?

--
View this message in context: 
http://openejb.979440.n4.nabble.com/Revision-1135936-can-break-ObjectNameBuilder-tp3613901p3613901.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to