Skip to content

Instantly share code, notes, and snippets.

@CaglarGonul
Created March 15, 2013 23:25
Show Gist options
  • Save CaglarGonul/5173994 to your computer and use it in GitHub Desktop.
Save CaglarGonul/5173994 to your computer and use it in GitHub Desktop.
Fun with Electroserver, Hibernate and Thread Pool
<?xml version="1.0" encoding="utf-8" ?>
<Extension>
<Name>FunES</Name>
<EventHandlers>
<LoginHandlers>
<LoginHandler>
<Handle>Login</Handle>
<Type>Java</Type>
<Path>com.cgon.loginmodule.Login</Path>
</LoginHandler>
</LoginHandlers>
</EventHandlers>
<ManagedObjects>
<ManagedObject>
<Handle>Executor</Handle>
<Type>Java</Type>
<Path>com.cgon.executer.ExecutorServiceManagedObjectFactory</Path>
<Variables>
<Variable name="pool-size" type="integer">20
</Variable>
</Variables>
</ManagedObject>
</ManagedObjects>
</Extension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment