Scott, It is better for me if Jetty can pull the port number from this service, since listeners may be started and stopped dynamically, and I don;t really want to choose e.g. the first one and treat it differently from the others....
Is this an option - I request a port number, rather than having someone call setPort() on me ? If I remove the Jetty plugin and drop in the Tomcat one is Jetty able to return the port number to the pool so that Tomcat can reacquire it ? Cheers, Jules Scott M Stark wrote: > I have imported this code into varia/src/main/org/jboss/services/binding > with the following changes: > > 1. A service can have multiple service bindings corresponding to > different listening services. The web containers need this to support > multiple virtual hosts and connectors. > 2. The store service used by the ServiceBindingManager is abstracted > out using a ServicesStoreFatory configurable via an attribute. It > will default to a read-only XML file based version. > 3. A ServiceConfig now includes multiple named bindings as well as a > ServicesConfigDelegate and an arbitrary DOM Element to control > the behavior of this delegate. A ServicesConfigDelegate knows how > to map a ServiceConfig onto a service via JMX. This abstraction > allows the service bindings to be integrated without changing any > existing services provided that all configurable attributes are settable > via JMX. > 4. The use of JDOM in the XML file store is really not warranted so > I'm rewriting that using only JAXP apis and parse the extended > services-binding.dtd. It is also only support read-only access to the > XML file since in general there will be one config being shared by > multiple servers. > > I'm working on integrating this service into the ServiceController and > should have it running by tomorrow. > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
