3
0
Fork 0

[svn r115] added the rest of foei

This commit is contained in:
willemc 2006-07-27 14:53:20 +02:00
parent a9ea03e737
commit ed5da52253
75 changed files with 6511 additions and 1 deletions

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<foei-config>
<foeiContext name="test">
<property name="" value=""/>
<foeiProcess name="start">
<load type="file" name=""/>
<load type="resource" name=""/>
</foeiProcess>
</foeiContext>
</foei-config>

View file

@ -0,0 +1,26 @@
foei.context_name=TEST-0
foei.event_thread_listeners=tests.TestEventThreadListener
foei.event_executor_manager.pool_core_size=5
foei.event_executor_manager.pool_max_size=10
foei.event_executor_manager.pool_keep_alive=300
############
## DEFAULTS ##
############
#
#foei.context_name=<No-default-required-to-set>
#foei.root_path=<No-default-required-to-set>
#
#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

View file

@ -1,3 +1,14 @@
dfg
package com.idcanet.foei.tests;
/**
*
*
* @author Willem Cazander
* @version 1.0 Jul 27, 2006
*/
public class SimpleFoeiTests {
}

View file

@ -0,0 +1,22 @@
package com.idcanet.foei.tests;
import com.idcanet.foei.core.EventThreadListener;
import com.idcanet.foei.core.FoeiContext;
/**
*
*
* @author Willem Cazander
* @version 1.0 Jul 27, 2006
*/
public class TestEventThreadListener implements EventThreadListener {
public void startThread(FoeiContext foeiContext) {
System.out.println("START: "+Thread.currentThread().getName()+" context: "+foeiContext.getName());
}
public void stopThread(FoeiContext foeiContext) {
System.out.println("STOP: "+Thread.currentThread().getName()+" context: "+foeiContext.getName());
}
}