To make things a little simplier, do you think it would be useful to add another method
such as:
void setLeaseEnabled(boolean)
If call setLeaseEnabled(boolean) passed false and are current lease session, will clean
them up. If passed true, will accept lease sessions even if no connection listeners (will
just have no one to notify).
Also, if try to call setLeasePeriod(long period) with number < 0, will throw an
exception.
Although a little more blunt in how things are handled, is much simplier from user API
perspective.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973453#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...