org.apache.turbine.services.assemblerbroker.util.java

## Class JavaActionFactory

- java.lang.Object
- - org.apache.turbine.services.assemblerbroker.util.java.JavaBaseFactory<Action>
  - - org.apache.turbine.services.assemblerbroker.util.java.JavaActionFactory

- All Implemented Interfaces:
    Loader<Action>, AssemblerFactory<Action>

      public class JavaActionFactory
      extends JavaBaseFactory<Action>

  An action factory that attempts to load a java class from the module packages defined in the TurbineResource.properties.
  Version:
    $Id: JavaActionFactory.java 1199089 2011-11-08 03:14:28Z tv $
  Author:
    Leon Messerschmidt, Henning P. Schmiedehausen

- - ### Field Summary

    - ### Fields inherited from class org.apache.turbine.services.assemblerbroker.util.java.JavaBaseFactory

      `log`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JavaActionFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Action` | `getAssembler(String name)` Get an Assembler.
    `Loader<Action>` | `getLoader()` Get the loader for this type of assembler
    `Class<Action>` | `getManagedClass()` Get the class of this assembler

    - ### Methods inherited from class org.apache.turbine.services.assemblerbroker.util.java.JavaBaseFactory

      `getAssembler, getCacheSize`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JavaActionFactory

          public JavaActionFactory()

  - ### Method Detail

    - #### getAssembler

          public Action getAssembler(String name)

      Get an Assembler.
      Parameters:
        `name` - name of the requested Assembler
      Returns:
        an Assembler

    - #### getLoader

          public Loader<Action> getLoader()

      Get the loader for this type of assembler
      Specified by:
        `getLoader` in interface `AssemblerFactory<Action>`
      Specified by:
        `getLoader` in class `JavaBaseFactory<Action>`
      Returns:
        a Loader

    - #### getManagedClass

          public Class<Action> getManagedClass()

      Get the class of this assembler
      Returns:
        a class

Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.