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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...