[jboss-dev-forums] [Design of JBossCache] - Re: Classloader leak via CacheImpl.invocationContextContaine

jason.greene@jboss.com do-not-reply at jboss.com
Wed Jun 13 12:27:00 EDT 2007


The only other options I can think of are:

1) Use varargs put(fqn, key, value, Option...). The problem with this approach is that eclipse treats varags like an array when doing tab completion, so you have to know that you dont need the parameter.

2) Break the API for each element into 2 interfaces. Then add a getAdvanced() or something to return the advanced versions of the methods. This of course only reduces the methods in the simple case for the user. The implementation still has to implement both methods.

-Jason

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054060#4054060

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054060



More information about the jboss-dev-forums mailing list