Errai 3.0.1-SNAPSHOT

org.jboss.errai.ioc.rebind.ioc.extension
Interface IOCExtensionConfigurator

All Known Implementing Classes:
DataBindingIOCExtension, ErraiBusIOCExtension, GWTUiBinderIOCExtension, JSR299IOCExtensionConfigurator, LoggerFactoryIOCExtension, PageNavIOCExtension, TemplatedErraiIOCExtension

public interface IOCExtensionConfigurator

This class is implemented by modules which need to extend functionality of the IOC container, such as by adding additional annotation processing rules, problematically providing dependencies, etc.

All classes implementing IOCExtensionConfigurator and annotated with IOCExtension will be instantiated and called by the IOC container at generation time.

All classes implementing this interface MUST:

  1. Have a default public, no-argument constructor.
  2. Be in a Errai discoverable classpath location (with an ErraiApp.properties at the classpath root)


Method Summary
 void afterInitialization(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext context, InjectionContext injectionContext, org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor procFactory)
          THis method is called after the container has initialized all configuration, and before any class generation for the container begins.
 void configure(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext context, InjectionContext injectionContext, org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor procFactory)
          This method is called by the container before any processing or class discovery begins.
 

Method Detail

configure

void configure(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext context,
               InjectionContext injectionContext,
               org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor procFactory)
This method is called by the container before any processing or class discovery begins. This gives an opportunity to configure the scanning rules, such as configuring annotation rules.

Parameters:
context -
injectionContext -
procFactory -

afterInitialization

void afterInitialization(org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCProcessingContext context,
                         InjectionContext injectionContext,
                         org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCConfigProcessor procFactory)
THis method is called after the container has initialized all configuration, and before any class generation for the container begins.

Parameters:
context -
injectionContext -
procFactory -

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.