signals.xml revision b2f82bf3e343541bc69ff53a2996370e457304f7
0N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
0N/A<!DOCTYPE stax SYSTEM "/stax.dtd">
0N/A<!--
0N/A ! CDDL HEADER START
407N/A !
0N/A ! The contents of this file are subject to the terms of the
0N/A ! Common Development and Distribution License, Version 1.0 only
0N/A ! (the "License"). You may not use this file except in compliance
0N/A ! with the License.
0N/A !
0N/A ! You can obtain a copy of the license at
0N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
0N/A ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
0N/A ! See the License for the specific language governing permissions
0N/A ! and limitations under the License.
0N/A !
0N/A ! When distributing Covered Code, include this CDDL HEADER in each
0N/A ! file and include the License file at
0N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
0N/A ! add the following below this CDDL HEADER, with the fields enclosed
0N/A ! by brackets "[]" replaced with your own identifying information:
0N/A ! Portions Copyright [yyyy] [name of copyright owner]
0N/A !
0N/A ! CDDL HEADER END
0N/A !
335N/A ! Portions Copyright 2007 Sun Microsystems, Inc.
335N/A ! -->
335N/A<stax>
335N/A
335N/A <defaultcall function="signals" />
509N/A
335N/A <function name="signals">
335N/A <function-prolog>
335N/A This function contains all signal related functions
335N/A </function-prolog>
335N/A <function-no-args/>
335N/A <sequence>
335N/A
427N/A <!-- Signal variables -->
271N/A <script>
99N/A SignalRaised=''
0N/A </script>
0N/A
0N/A <!-- Redefine the default signal handlers-->
0N/A <call function="'OverideDefaultSignals'"/>
0N/A
0N/A </sequence>
0N/A
0N/A </function>
0N/A
0N/A <function name="OverideDefaultSignals">
0N/A <function-prolog>
0N/A This function overides the default STAX signal handlers
0N/A </function-prolog>
0N/A <function-no-args/>
0N/A
0N/A <!-- STAXPythonEvaluationError signal -->
0N/A <signalhandler signal="'STAXPythonEvaluationError'">
656N/A <sequence>
0N/A
271N/A <log level="'error'" message="1">
202N/A ('STAXPythonEvaluationError signal raised. ' + 'Continuing job. %s' % (STAXPythonEvalMsg))
202N/A </log>
0N/A
0N/A <script>
0N/A SignalRaised='STAXPythonEvaluationError'
0N/A </script>
656N/A
656N/A <message>'SignalRaised = %s' % SignalRaised</message>
656N/A
656N/A </sequence>
656N/A </signalhandler>
656N/A
656N/A </function>
656N/A
656N/A</stax>
656N/A