summaryrefslogtreecommitdiff
path: root/src/main/resources/boot/SC/LocalObjectDefCreator.xml
diff options
context:
space:
mode:
authorabranson <abranson@PCUWE01.cern.ch>2012-07-06 15:53:04 +0200
committerabranson <abranson@PCUWE01.cern.ch>2012-07-06 15:53:04 +0200
commit0774a45d92569b7d7f05c82c9e036821b1c3aadf (patch)
treebea236f34ce5326df9ff5434c13c48e82d2a1625 /src/main/resources/boot/SC/LocalObjectDefCreator.xml
parentecfbae52eca918912f31199519f260c1657acd43 (diff)
Require workflow version for item descriptions
Switch to Gateway.getMarshaller() from CastorXMLUtility Replace module.xml with marshalled form
Diffstat (limited to 'src/main/resources/boot/SC/LocalObjectDefCreator.xml')
-rw-r--r--src/main/resources/boot/SC/LocalObjectDefCreator.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/boot/SC/LocalObjectDefCreator.xml b/src/main/resources/boot/SC/LocalObjectDefCreator.xml
index 177b635..d6a6762 100644
--- a/src/main/resources/boot/SC/LocalObjectDefCreator.xml
+++ b/src/main/resources/boot/SC/LocalObjectDefCreator.xml
@@ -2,7 +2,7 @@
<cristalscript>
<output name="errors" type="com.c2kernel.scripting.ErrorInfo"/>
<script language="javascript" name="LocalObjectDefCreator"><![CDATA[
- importClass(Packages.com.c2kernel.utils.CastorXMLUtility);
+ importClass(Packages.com.c2kernel.process.Gateway);
importClass(Packages.com.c2kernel.utils.Resource);
importClass(Packages.com.c2kernel.process.Bootstrap);
importClass(Packages.com.c2kernel.lifecycle.CompositeActivityDef);
@@ -33,7 +33,7 @@
if (type.equals("EA") || type.equals("CA")) {
var newAct = type.equals("CA")?new CompositeActivityDef(): new ActivityDef();
newAct.setName(name);
- newObj = CastorXMLUtility.marshall(newAct);
+ newObj = Gateway.getMarshaller().marshall(newAct);
}
else {
// Empty schemas and scripts are stored as outcomes of the factory.