org.codehaus.xfire.plexus.config
Class ObjectServiceConfigurator

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.codehaus.xfire.plexus.PlexusXFireComponent
          extended byorg.codehaus.xfire.plexus.config.ObjectServiceConfigurator
All Implemented Interfaces:
Configurator, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Serviceable
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(java.lang.String name)
           
 org.codehaus.xfire.service.binding.ObjectServiceFactory getServiceFactory(org.codehaus.plexus.configuration.PlexusConfiguration config)
           
protected  org.codehaus.xfire.service.binding.ObjectServiceFactory getServiceFactory(java.lang.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  java.lang.Class loadClass(java.lang.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 java.lang.Exception
Specified by:
createService in interface Configurator
Throws:
java.lang.Exception

getServiceFactory

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

getBindingProvider

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

getServiceFactory

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

getHandler

protected org.codehaus.xfire.handler.Handler getHandler(java.lang.String name)
                                                 throws java.lang.Exception
Throws:
java.lang.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 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 org.codehaus.xfire.service.ServiceRegistry getServiceRegistry()


Copyright © 2004-2006 null. All Rights Reserved.