Class MIContextXMLBuilder

  • All Implemented Interfaces:
    ContextBuilder<Object>

    public class MIContextXMLBuilder
    extends Object
    implements ContextBuilder<Object>
    ContextBuilder implementation that will delegate the building to a ContextXMLBuilder and then call a ModelInitializer class to complete the build.
    Author:
    Nick Collier
    • Constructor Detail

      • MIContextXMLBuilder

        public MIContextXMLBuilder​(ContextData context,
                                   Class<?> initClass,
                                   net.sf.cglib.reflect.FastMethod initializer)
    • Method Detail

      • build

        public Context<?> build​(Context<Object> context)
        Description copied from interface: ContextBuilder
        Builds and returns a context. Building a context consists of filling it with agents, adding projections and so forth. The returned context does not necessarily have to be the passed in context.
        Specified by:
        build in interface ContextBuilder<Object>
        Returns:
        the built context.