Naming the method getContexts it will add the contexts as an mbean attribute, instead of a method.
I prefer method over attribute because all attributes are fetched at once. Methods are executed at will.