[jboss-cvs] JBossAS SVN: r86920 - trunk/system/src/main/org/jboss/system/server/profileservice/persistence.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 7 09:16:51 EDT 2009
Author: emuckenhuber
Date: 2009-04-07 09:16:51 -0400 (Tue, 07 Apr 2009)
New Revision: 86920
Modified:
trunk/system/src/main/org/jboss/system/server/profileservice/persistence/AttachmentPropertyPopulator.java
Log:
don't ignore properties which have a meta mapper.
Modified: trunk/system/src/main/org/jboss/system/server/profileservice/persistence/AttachmentPropertyPopulator.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/persistence/AttachmentPropertyPopulator.java 2009-04-07 13:14:45 UTC (rev 86919)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/persistence/AttachmentPropertyPopulator.java 2009-04-07 13:16:51 UTC (rev 86920)
@@ -35,6 +35,7 @@
import org.jboss.metatype.api.types.MetaType;
import org.jboss.metatype.api.values.MetaValue;
import org.jboss.metatype.api.values.MetaValueFactory;
+import org.jboss.metatype.spi.values.MetaMapper;
/**
* The AttachmentPropertyPopulator, this writes the values of a
@@ -90,7 +91,8 @@
MetaValue value = property.getValue();
// FIXME skip CompositeValueInvocationHandler
- if (metaType.isComposite())
+ MetaMapper mapper = property.getTransientAttachment(MetaMapper.class);
+ if (mapper == null && metaType.isComposite())
{
if(metaType.getTypeName().equals(ObjectName.class.getName()) == false)
{
More information about the jboss-cvs-commits
mailing list