[jboss-dev-forums] [Design of POJO Server] - Re: ProfileService equiv to ServiceBindingManager

bstansberry@jboss.com do-not-reply at jboss.com
Fri Aug 8 13:57:35 EDT 2008


A question is what to do with the old org.jboss.system.ServiceBinding interface and it's usage in ServiceConfigurator (and OldServiceConfigurator):

public interface ServiceBinding
  | {
  |    /**
  |     * Possibly override the configuration of a service.
  |     * 
  |     * @param serviceName the JMX ObjectName of the service
  |     * @exception Exception thrown on failure to override a configuration
  |     */
  |    void applyServiceConfig(ObjectName serviceName) throws Exception;
  | }

The new implementation has nothing to do with this.

Possibilities:

1) Leave it there along with the old ServiceBindingManager code in case anyone was using it for something obscure that the new stuff couldn't handle. Minimize confusion for the 99.99% who don't fit this case by not providing the commented out mbean or the docs/examples/binding/sample-bindings.xml file.

2) Leave the interface there but drop the old implementation; if people want it they implement their own.  This makes little sense to me.

3) Get rid of all of it.

IMO #3 is the right way to go, but want to get comments before dumping the whole thing.

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

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



More information about the jboss-dev-forums mailing list