public final class JAXRConnectionFactoryService extends org.jboss.msc.service.AbstractService<Void>
Modifier and Type | Method and Description |
---|---|
static org.jboss.msc.service.ServiceController<?> |
addService(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceListener<Object>... listeners) |
protected javax.xml.registry.ConnectionFactory |
loadConnectionFactoryImplementation(JAXRConfiguration config)
Loads the JAXR service provider, by going down the following list:
Look for System property
JAXRConstants.JAXR_FACTORY_IMPLEMENTATION ,
and if it contains a value, instantiate the class.
Obtain from the JBoss configuration, and if it contains a value, instantiate the class.
Use the ServiceLoader which check the value in the file META-INF/services/javax.xml.registry.ConnectionFactory.
Finally when still no service provider has been found, return the default implementation, which
is Apache Scout. |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static org.jboss.msc.service.ServiceController<?> addService(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceListener<Object>... listeners)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
protected javax.xml.registry.ConnectionFactory loadConnectionFactoryImplementation(JAXRConfiguration config) throws javax.xml.registry.JAXRException
JAXRConstants.JAXR_FACTORY_IMPLEMENTATION
,
and if it contains a value, instantiate the class.ServiceLoader
which check the value in the file META-INF/services/javax.xml.registry.ConnectionFactory.config
- javax.xml.registry.JAXRException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.