[svn r115] added the rest of foei
This commit is contained in:
parent
a9ea03e737
commit
ed5da52253
75 changed files with 6511 additions and 1 deletions
33
src/META-INF/events.eld
Normal file
33
src/META-INF/events.eld
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright 2004-2006 IDCA. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
|
||||
the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
|
||||
and the following disclaimer in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The views and conclusions contained in the software and documentation are those of the authors and
|
||||
should not be interpreted as representing official policies, either expressed or implied, of IDCA.
|
||||
-->
|
||||
<XMLElements>
|
||||
<eld-info>
|
||||
<name>events.eld</name>
|
||||
<description>All event foei objects</description>
|
||||
</eld-info>
|
||||
|
||||
</XMLElements>
|
||||
57
src/META-INF/filters.eld
Normal file
57
src/META-INF/filters.eld
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright 2004-2006 IDCA. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
|
||||
the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
|
||||
and the following disclaimer in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The views and conclusions contained in the software and documentation are those of the authors and
|
||||
should not be interpreted as representing official policies, either expressed or implied, of IDCA.
|
||||
-->
|
||||
<XMLElements>
|
||||
<eld-info>
|
||||
<name>filters.eld</name>
|
||||
<description>All core foei objects</description>
|
||||
</eld-info>
|
||||
|
||||
<element>
|
||||
<name>filter</name>
|
||||
<description>Filters an object by its eventSteps</description>
|
||||
<class>com.idcanet.foei.components.lang.Filter</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>stringFilter</name>
|
||||
<description>filters an String on a regex</description>
|
||||
<class>com.idcanet.foei.components.steps.filters.StringFilter</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>classFilter</name>
|
||||
<description>filters for a class on an object</description>
|
||||
<class>com.idcanet.foei.components.steps.filters.ClassFilter</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>dateFilter</name>
|
||||
<description>filters an date of an Date</description>
|
||||
<class>com.idcanet.foei.components.steps.filters.DateFilter</class>
|
||||
</element>
|
||||
|
||||
</XMLElements>
|
||||
23
src/META-INF/foei-context-defaults.xml
Normal file
23
src/META-INF/foei-context-defaults.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||
<properties>
|
||||
<!-- THE FOEI PROPERTIES DEFAULTS -->
|
||||
|
||||
<!--
|
||||
#foei.object_bindings_manager=com.idca.foei.core.impl.ObjectBindingsManagerImpl
|
||||
#foei.event_executor=com.idca.foei.core.impl.EventExecutorImpl
|
||||
#foei.event_executor_manager=com.idca.foei.core.impl.EventExecutorManagerImpl
|
||||
#foei.event_executor_manager.pool_core_size=3
|
||||
#foei.event_executor_manager.pool_max_size=5
|
||||
#foei.event_executor_manager.pool_keep_alive=180
|
||||
#foei.initial_object_context_factory=com.idca.foei.utils.jndi.MemoryContextFactory
|
||||
#foei.event_thread_listeners=<empty>
|
||||
#foei.x2o_root_tag=foei
|
||||
#foei.x2o_default_element_configurator=com.idca.foei.xml.x2o.DefaultX2OElementConfigurator
|
||||
|
||||
-->
|
||||
|
||||
|
||||
<entry key="foei.object_bindings_manager">com.idcanet.foei.core.impl.ObjectBindingsManagerImpl</entry>
|
||||
|
||||
</properties>
|
||||
18
src/META-INF/foei-namespaces.properties
Normal file
18
src/META-INF/foei-namespaces.properties
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
code.http\://foei.idca.nl/eld/events.eld=com.idcanet.x4o.core.DefaultX4OEldElementProvider
|
||||
file.http\://foei.idca.nl/eld/events.eld=/META-INF/events.eld
|
||||
|
||||
code.http\://foei.idca.nl/eld/filters.eld=com.idcanet.x4o.core.DefaultX4OEldElementProvider
|
||||
file.http\://foei.idca.nl/eld/filters.eld=/META-INF/filters.eld
|
||||
|
||||
code.http\://foei.idca.nl/eld/io.eld=com.idcanet.x4o.core.DefaultX4OEldElementProvider
|
||||
file.http\://foei.idca.nl/eld/io.eld=/META-INF/io.eld
|
||||
|
||||
code.http\://foei.idca.nl/eld/lang.eld=com.idcanet.x4o.core.DefaultX4OEldElementProvider
|
||||
file.http\://foei.idca.nl/eld/lang.eld=/META-INF/lang.eld
|
||||
|
||||
code.http\://foei.idca.nl/eld/logging.eld=com.idcanet.x4o.core.DefaultX4OEldElementProvider
|
||||
file.http\://foei.idca.nl/eld/logging.eld=/META-INF/logging.eld
|
||||
|
||||
code.http\://foei.idca.nl/eld/printers.eld=com.idcanet.x4o.core.DefaultX4OEldElementProvider
|
||||
file.http\://foei.idca.nl/eld/printers.eld=/META-INF/printers.eld
|
||||
53
src/META-INF/io.eld
Normal file
53
src/META-INF/io.eld
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright 2004-2006 IDCA. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
|
||||
the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
|
||||
and the following disclaimer in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The views and conclusions contained in the software and documentation are those of the authors and
|
||||
should not be interpreted as representing official policies, either expressed or implied, of IDCA.
|
||||
-->
|
||||
<XMLElements>
|
||||
|
||||
<eld-info>
|
||||
<name>io.eld</name>
|
||||
<description>io foei objects</description>
|
||||
</eld-info>
|
||||
|
||||
<element>
|
||||
<name>standardOutput</name>
|
||||
<description>This Object printer prints to the std-out</description>
|
||||
<class>com.idcanet.foei.components.io.StandardOutput</class>
|
||||
</element>
|
||||
|
||||
|
||||
<element>
|
||||
<name>errorOutput</name>
|
||||
<description>This Object printer prints to the err-out</description>
|
||||
<class>com.idcanet.foei.components.io.ErrorOutput</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>fileOutput</name>
|
||||
<description>This Object printer prints to a file</description>
|
||||
<class>com.idcanet.foei.components.io.FileOutput</class>
|
||||
</element>
|
||||
|
||||
</XMLElements>
|
||||
105
src/META-INF/lang.eld
Normal file
105
src/META-INF/lang.eld
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright 2004-2006 IDCA. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
|
||||
the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
|
||||
and the following disclaimer in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The views and conclusions contained in the software and documentation are those of the authors and
|
||||
should not be interpreted as representing official policies, either expressed or implied, of IDCA.
|
||||
-->
|
||||
<XMLElements>
|
||||
<eld-info>
|
||||
<name>lang.eld</name>
|
||||
<description>All core lang foei objects</description>
|
||||
</eld-info>
|
||||
|
||||
<global-parameter>
|
||||
<parameter-name>bind</parameter-name>
|
||||
<parameter-handler>com.idcanet.foei.core.x4o.BindAttributeHandler</parameter-handler>
|
||||
<parameter-description>Binds the EventPort to getter</parameter-description>
|
||||
</global-parameter>
|
||||
|
||||
<global-parameter>
|
||||
<parameter-name>id</parameter-name>
|
||||
<parameter-handler>com.idcanet.foei.core.x4o.IdAttributeHandler</parameter-handler>
|
||||
<parameter-description>Adds the object into the context</parameter-description>
|
||||
</global-parameter>
|
||||
|
||||
<element-bindings>
|
||||
<rule-handler>com.idcanet.foei.core.x4o.EventStepBindRuleHandler</rule-handler>
|
||||
<rule-description></rule-description>
|
||||
</element-bindings>
|
||||
|
||||
<element>
|
||||
<name>bind</name>
|
||||
<description>Binds 2 eventPorts together</description>
|
||||
<configurator>com.idcanet.foei.core.x4o.ObjectBindingElement</configurator>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>dummyOutputPort</name>
|
||||
<description>An dummy output, mostly used to send events into foei.</description>
|
||||
<class>com.idcanet.foei.components.lang.DummyOutputPort</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>objectChangedBuffer</name>
|
||||
<description>Buffers objects an only fires when it is not equal</description>
|
||||
<class>com.idcanet.foei.components.lang.ObjectChangedBuffer</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>destroyFoeiProcess</name>
|
||||
<description>Destroys the current process</description>
|
||||
<class>com.idcanet.foei.components.lang.DestroyFoeiProcess</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>setBeanProperty</name>
|
||||
<description>Sets an property on a bean.</description>
|
||||
<class>com.idcanet.foei.components.lang.SetBeanProperty</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>getBeanProperty</name>
|
||||
<description>Gets an property on a bean.</description>
|
||||
<class>com.idcanet.foei.components.lang.GetBeanProperty</class>
|
||||
</element>
|
||||
|
||||
|
||||
<element>
|
||||
<name>getBeanPropertyStep</name>
|
||||
<description>gets an property of an obeject</description>
|
||||
<class>com.idcanet.foei.components.steps.lang.GetBeanPropertyStep</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>mapValue</name>
|
||||
<description>gets an Value out of an Map</description>
|
||||
<class>com.idcanet.foei.components.steps.lang.MapValue</class>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>listValue</name>
|
||||
<description>gets an Value out of an List</description>
|
||||
<class>com.idcanet.foei.components.steps.lang.ListValue</class>
|
||||
</element>
|
||||
|
||||
</XMLElements>
|
||||
35
src/META-INF/logging.eld
Normal file
35
src/META-INF/logging.eld
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright 2004-2006 IDCA. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
|
||||
the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
|
||||
and the following disclaimer in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The views and conclusions contained in the software and documentation are those of the authors and
|
||||
should not be interpreted as representing official policies, either expressed or implied, of IDCA.
|
||||
-->
|
||||
<XMLElements>
|
||||
|
||||
<element>
|
||||
<name>loggerInput</name>
|
||||
<description>Java Logger InputHandler</description>
|
||||
<class>com.idcanet.foei.components.logging.LoggerInput</class>
|
||||
</element>
|
||||
|
||||
</XMLElements>
|
||||
61
src/META-INF/printers.eld
Normal file
61
src/META-INF/printers.eld
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright 2004-2006 IDCA. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
|
||||
the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
|
||||
and the following disclaimer in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The views and conclusions contained in the software and documentation are those of the authors and
|
||||
should not be interpreted as representing official policies, either expressed or implied, of IDCA.
|
||||
-->
|
||||
<XMLElements>
|
||||
|
||||
<eld-info>
|
||||
<name>printers.eld</name>
|
||||
<description>A few standaard (step)printers</description>
|
||||
</eld-info>
|
||||
|
||||
|
||||
<element>
|
||||
<name>defaultPrinter</name>
|
||||
<description>This EventStep uses to toString() to print an object.</description>
|
||||
<class>com.idcanet.foei.components.steps.printers.DefaultPrinter</class>
|
||||
<parameters>
|
||||
<parameter>
|
||||
<parameter-name>prefix</parameter-name>
|
||||
<parameter-type>java.lang.String</parameter-type>
|
||||
<parameter-default>null</parameter-default>
|
||||
<parameter-description>Prints the prefix of this printer</parameter-description>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<parameter-name>postfix</parameter-name>
|
||||
<parameter-type>java.lang.String</parameter-type>
|
||||
<parameter-default>null</parameter-default>
|
||||
<parameter-description>Prints the postfix of this printer</parameter-description>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</element>
|
||||
|
||||
<element>
|
||||
<name>datePrinter</name>
|
||||
<description>This eventStep prints an date object including formating</description>
|
||||
<class>com.idcanet.foei.components.steps.printers.DatePrinter</class>
|
||||
</element>
|
||||
|
||||
</XMLElements>
|
||||
Loading…
Add table
Add a link
Reference in a new issue