org.codehaus.xfire.plexus.config
Class ObjectServiceConfigurator
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.xfire.plexus.PlexusXFireComponent
org.codehaus.xfire.plexus.config.ObjectServiceConfigurator
- All Implemented Interfaces:
- org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Serviceable, Configurator
- Direct Known Subclasses:
- AnnotationServiceConfigurator
public class ObjectServiceConfigurator
- extends PlexusXFireComponent
- implements Configurator
Creates and configures services.
- Since:
- Sep 20, 2004
- Author:
- Dan Diephouse
Fields inherited from interface org.codehaus.xfire.plexus.config.Configurator |
ROLE |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectServiceConfigurator
public ObjectServiceConfigurator()
createService
public Service createService(org.codehaus.plexus.configuration.PlexusConfiguration config)
throws java.lang.Exception
- Specified by:
createService
in interface Configurator
- Throws:
java.lang.Exception
getServiceFactory
public ServiceFactory getServiceFactory(org.codehaus.plexus.configuration.PlexusConfiguration config)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceFactory
protected ServiceFactory getServiceFactory(java.lang.String builderClass)
throws java.lang.Exception
- Returns:
-
- Throws:
org.codehaus.plexus.configuration.PlexusConfigurationException
java.lang.Exception
getHandler
protected Handler getHandler(java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
getFaultHandler
protected FaultHandler getFaultHandler(java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
getXFire
public XFire getXFire()
getTypeMappingRegistry
public TypeMappingRegistry getTypeMappingRegistry()
getTransportManager
protected TransportManager getTransportManager()
loadClass
protected java.lang.Class loadClass(java.lang.String className)
throws java.lang.Exception
- Load a class from the class loader.
- Parameters:
className
- The name of the class.
- Returns:
- The class.
- Throws:
java.lang.Exception
getServiceRegistry
protected ServiceRegistry getServiceRegistry()