[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
13
tests/com/META-INF/foei-config.xml
Normal file
13
tests/com/META-INF/foei-config.xml
Normal 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>
|
||||
26
tests/com/META-INF/foei.properties
Normal file
26
tests/com/META-INF/foei.properties
Normal 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
|
||||
|
|
@ -1,3 +1,14 @@
|
|||
|
||||
|
||||
dfg
|
||||
package com.idcanet.foei.tests;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author Willem Cazander
|
||||
* @version 1.0 Jul 27, 2006
|
||||
*/
|
||||
public class SimpleFoeiTests {
|
||||
}
|
||||
22
tests/com/idcanet/foei/tests/TestEventThreadListener.java
Normal file
22
tests/com/idcanet/foei/tests/TestEventThreadListener.java
Normal 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());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue