From 24314dc1699c7e73048fa24e33729f1aa1ec0e86 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Fri, 6 Jul 2012 11:00:24 +0200 Subject: Modules serialize with Castor. Just about to remove the parsing. CastorXMLUtility is now a static member of gateway. Domain specific instances can be used by domain applications, but the maps do not interfere with the kernel. --- src/main/java/com/c2kernel/entity/proxy/EntityProxy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/com/c2kernel/entity/proxy/EntityProxy.java') diff --git a/src/main/java/com/c2kernel/entity/proxy/EntityProxy.java b/src/main/java/com/c2kernel/entity/proxy/EntityProxy.java index fae2e28..cb76a19 100644 --- a/src/main/java/com/c2kernel/entity/proxy/EntityProxy.java +++ b/src/main/java/com/c2kernel/entity/proxy/EntityProxy.java @@ -19,7 +19,6 @@ import com.c2kernel.entity.ManageableEntity; import com.c2kernel.persistency.ClusterStorageException; import com.c2kernel.process.Gateway; import com.c2kernel.property.Property; -import com.c2kernel.utils.CastorXMLUtility; import com.c2kernel.utils.Logger; @@ -113,7 +112,7 @@ abstract public class EntityProxy implements ManageableEntity return retString.toString(); } C2KLocalObject target = Gateway.getStorage().get(mSystemKey, path, null); - return CastorXMLUtility.marshall(target); + return Gateway.getMarshaller().marshall(target); } catch (ObjectNotFoundException e) { throw e; } catch (Exception e) { -- cgit v1.2.3