Class ClassRealmConfigurator

java.lang.Object
org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
org.wurbelizer.maven.ClassRealmConfigurator
All Implemented Interfaces:
org.codehaus.plexus.component.configurator.ComponentConfigurator

@Component(role=org.codehaus.plexus.component.configurator.ComponentConfigurator.class, hint="set-classrealm") public class ClassRealmConfigurator extends org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
A custom configurator for the WurbelMojo.

Extracts the classrealm and make it available to mojos. This is necessary in multimodule maven projects, if wurblets are compiled in one module and used in other modules of the project. Otherwise, the first build of the super-pom will fail.

Author:
harald
See Also:
  • Field Summary

    Fields inherited from class org.codehaus.plexus.component.configurator.AbstractComponentConfigurator

    converterLookup

    Fields inherited from interface org.codehaus.plexus.component.configurator.ComponentConfigurator

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureComponent(Object component, org.codehaus.plexus.configuration.PlexusConfiguration configuration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm, org.codehaus.plexus.component.configurator.ConfigurationListener listener)
     

    Methods inherited from class org.codehaus.plexus.component.configurator.AbstractComponentConfigurator

    configureComponent, configureComponent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ClassRealmConfigurator

      public ClassRealmConfigurator()
  • Method Details

    • configureComponent

      @Requirement(role=org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup.class, hint="default") public void configureComponent(Object component, org.codehaus.plexus.configuration.PlexusConfiguration configuration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm, org.codehaus.plexus.component.configurator.ConfigurationListener listener) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
      Specified by:
      configureComponent in interface org.codehaus.plexus.component.configurator.ComponentConfigurator
      Overrides:
      configureComponent in class org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
      Throws:
      org.codehaus.plexus.component.configurator.ComponentConfigurationException