org.codehaus.xfire.plexus.config
Class DefaultConfigurationService

java.lang.Object
  |
  +--org.codehaus.plexus.logging.AbstractLogEnabled
        |
        +--org.codehaus.xfire.plexus.PlexusXFireComponent
              |
              +--org.codehaus.xfire.plexus.config.DefaultConfigurationService
All Implemented Interfaces:
ConfigurationService, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Serviceable

public class DefaultConfigurationService
extends PlexusXFireComponent
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, ConfigurationService

Loads in XFire components from the XFire configuration file.

Author:
Dan Diephouse

Field Summary
 
Fields inherited from interface org.codehaus.xfire.plexus.config.ConfigurationService
ROLE
 
Constructor Summary
DefaultConfigurationService()
           
 
Method Summary
 void contextualize(org.codehaus.plexus.context.Context context)
           
protected  java.io.Reader findConfigurationReader()
           
 void initialize()
           
 void register(Configurator configurator)
           
 
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

DefaultConfigurationService

public DefaultConfigurationService()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
java.lang.Exception

findConfigurationReader

protected java.io.Reader findConfigurationReader()
                                          throws java.io.FileNotFoundException
java.io.FileNotFoundException

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws java.lang.Exception
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
java.lang.Exception
See Also:
Contextualizable.contextualize(org.codehaus.plexus.context.Context)

register

public void register(Configurator configurator)
Specified by:
register in interface ConfigurationService
See Also:
org.codehaus.xfire.plexus.config.ConfigurationService#register(org.codehaus.xfire.plexus.config.ServiceConfigurator)


Copyright © 2004 Codehaus. All Rights Reserved.