|    [javac]
|/home/starksm/cvsroot/Main/jboss/src/main/org/jboss/ejb/plugins/loc
|k/SimpleP
|essimisticEJBLock.java:58: Superclass
|org.jboss.ejb.plugins.lock.BeanLockSupport of class
|org.jboss.ejb.plugins.lock.SimplePessimisticEJBLock not found.
|    [javac] public class SimplePessimisticEJBLock extends BeanLockSupport
|    [javac]                                               ^
|
|build 1110>ls ../main/org/jboss/ejb/plugins/lock/
|CVS/  SimplePessimisticEJBLock.java

apologies, 

in cvs

marcf
|
|----- Original Message -----
|From: marc fleury
|To: Jboss-Development@Lists. Sourceforge. Net
|Sent: Thursday, August 02, 2001 8:07 PM
|Subject: [JBoss-dev] Pluggable locking policies
|
|
|Oka.
|
|sorry I left the cvs dangling there for a while.  I just started touching
|stuff and then said "will do the abstract lock base" and got sidetracked.
|It is back to normal now.
|
|Ok the locking policy as promised is now pluggable and I provide a
|"simplePessimisticEJBLock" meaning that it does the usual Tx lock and EJB
|serialized lock and I implement it with the simplest of all policies
|"notifyAll" galore.  This particular one will probably struggle under very
|very heavy load but it won't freeze (ever).  We are still playing with
|N-Lock policies that would really fly under load but that is for another
|day.
|
|jboss.xml is changed and we add a
|<locking-policy>org.jboss.ejb.plugins.lock.SimplePessimisticEJBLock
|</locking
|-policy>
|in standardjboss-xml.
|
|Also don't worry for backward compatibility purposes I hardcoded 
|the default
|in confmetadata so that if you use old jboss.xml it should still work (did
|for me).
|
|enjoy,
|
|marcf
|
|_________________
|Marc Fleury, Ph.D
|[EMAIL PROTECTED]
|_________________
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-development
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-development

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to