org.codehaus.xfire.plexus.config
Class ObjectServiceConfigurator

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.xfire.plexus.PlexusXFireComponent
          extended by 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

Field Summary
 
Fields inherited from interface org.codehaus.xfire.plexus.config.Configurator
ROLE
 
Constructor Summary
ObjectServiceConfigurator()
           
 
Method Summary
 org.codehaus.xfire.service.Service createService(org.codehaus.plexus.configuration.PlexusConfiguration config)
           
protected  org.codehaus.xfire.service.binding.BindingProvider getBindingProvider(org.codehaus.plexus.configuration.PlexusConfiguration config)
           
protected  org.codehaus.xfire.handler.Handler getHandler(String name)
           
 org.codehaus.xfire.service.binding.ObjectServiceFactory getServiceFactory(org.codehaus.plexus.configuration.PlexusConfiguration config)
           
protected  org.codehaus.xfire.service.binding.ObjectServiceFactory getServiceFactory(String builderClass, org.codehaus.xfire.service.binding.BindingProvider bindingProvider)
           
protected  org.codehaus.xfire.service.ServiceRegistry getServiceRegistry()
           
protected  org.codehaus.xfire.transport.TransportManager getTransportManager()
           
 org.codehaus.xfire.aegis.type.TypeMappingRegistry getTypeMappingRegistry()
           
 org.codehaus.xfire.XFire getXFire()
           
protected  Class loadClass(String className)
          Load a class from the class loader.
 
Methods inherited from class org.codehaus.xfire.plexus.PlexusXFireComponent
getServiceLocator, service
 
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
 

Constructor Detail

ObjectServiceConfigurator

public ObjectServiceConfigurator()
Method Detail

createService

public org.codehaus.xfire.service.Service createService(org.codehaus.plexus.configuration.PlexusConfiguration config)
                                                 throws Exception
Specified by:
createService in interface Configurator
Throws:
Exception

getServiceFactory

public org.codehaus.xfire.service.binding.ObjectServiceFactory getServiceFactory(org.codehaus.plexus.configuration.PlexusConfiguration config)
                                                                          throws Exception
Throws:
Exception

getBindingProvider

protected org.codehaus.xfire.service.binding.BindingProvider getBindingProvider(org.codehaus.plexus.configuration.PlexusConfiguration config)
                                                                         throws InstantiationException,
                                                                                IllegalAccessException,
                                                                                Exception
Throws:
InstantiationException
IllegalAccessException
Exception

getServiceFactory

protected org.codehaus.xfire.service.binding.ObjectServiceFactory getServiceFactory(String builderClass,
                                                                                    org.codehaus.xfire.service.binding.BindingProvider bindingProvider)
                                                                             throws Exception
Returns:
Throws:
org.codehaus.plexus.configuration.PlexusConfigurationException
Exception

getHandler

protected org.codehaus.xfire.handler.Handler getHandler(String name)
                                                 throws Exception
Throws:
Exception

getXFire

public org.codehaus.xfire.XFire getXFire()

getTypeMappingRegistry

public org.codehaus.xfire.aegis.type.TypeMappingRegistry getTypeMappingRegistry()

getTransportManager

protected org.codehaus.xfire.transport.TransportManager getTransportManager()

loadClass

protected Class loadClass(String className)
                   throws Exception
Load a class from the class loader.

Parameters:
className - The name of the class.
Returns:
The class.
Throws:
Exception

getServiceRegistry

protected org.codehaus.xfire.service.ServiceRegistry getServiceRegistry()


Copyright © 2004-2013. All Rights Reserved.