org.jboss.dna.repository
Class Configurator<BuilderType>

java.lang.Object
  extended by org.jboss.dna.repository.Configurator<BuilderType>
Type Parameters:
BuilderType -
Direct Known Subclasses:
DnaConfiguration.Builder

public abstract class Configurator<BuilderType>
extends Object


Nested Class Summary
static interface Configurator.And<ReturnType>
          Continue with another aspect of configuration.
static interface Configurator.Builder<ReturnType>
          Interface used to build the configured component.
static interface Configurator.ChooseClass<ComponentClassType,ReturnType>
          The interface used to configure the class used for a component.
static interface Configurator.ConfigRepositoryDetails<ReturnType>
          Interface used to define the configuration repository.
static class Configurator.ConfigurationRepository
           
static interface Configurator.Initializer<ReturnType>
          Interface used to initialize the configurator to use a specific repository containing configuration information.
static interface Configurator.LoadedFrom<ReturnType>
          Interface for specifying from where the component's class is to be loaded.
static interface Configurator.MimeDetectorConfigurator<ReturnType>
          Interface used to configure a MIME type detector.
static interface Configurator.MimeTypeDetectorDetails<ReturnType>
          Interface used to configure a MIME type detector.
static interface Configurator.PathExpressionOutput<ReturnType>
          Interface used to specify the output path expression for a sequencer configuration.
static interface Configurator.PropertySetter<ReturnType>
          The interface used to set the value for a JavaBean-style property.
static interface Configurator.RepositoryConfigurator<ReturnType>
          Interface used to configure a repository source.
static interface Configurator.RepositoryDetails<ReturnType>
          Interface used to configure a repository.
static interface Configurator.SequencerConfigurator<ReturnType>
          Interface used to configure a sequencer.
static interface Configurator.SequencerDetails<ReturnType>
          Interface used to configure a sequencer.
static interface Configurator.SetDescription<ReturnType>
          The interface used to set a description on a component.
static interface Configurator.SetName<ReturnType>
          The interface used to set a human readable name on a component.
static interface Configurator.SetProperties<ReturnType>
          Interface for configuring the JavaBean-style properties of an object.
 
Method Summary
 ExecutionContext getExecutionContext()
          Get the execution context used by this configurator.
 BuilderType save()
          Save any changes that have been made so far to the configuration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExecutionContext

public final ExecutionContext getExecutionContext()
Get the execution context used by this configurator.

Returns:
the execution context; never null

save

public BuilderType save()
Save any changes that have been made so far to the configuration. This method does nothing if no changes have been made.

Returns:
this configuration object for method chaining purposes; never null


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.