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

## Class JavaLayoutFactory

- java.lang.Object
- - org.apache.turbine.services.assemblerbroker.util.java.JavaBaseFactory<Layout>
  - - org.apache.turbine.services.assemblerbroker.util.java.JavaLayoutFactory

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

      public class JavaLayoutFactory
      extends JavaBaseFactory<Layout>

  A layout factory that attempts to load a java class from the module packages defined in the TurbineResource.properties.
  Version:
    $Id: JavaLayoutFactory.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
    `JavaLayoutFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Layout` | `getAssembler(String name)` Get an Assembler.
    `Loader<Layout>` | `getLoader()` Get the loader for this type of assembler
    `Class<Layout>` | `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

    - #### JavaLayoutFactory

          public JavaLayoutFactory()

  - ### Method Detail

    - #### getAssembler

          public Layout getAssembler(String name)

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

    - #### getLoader

          public Loader<Layout> getLoader()

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

    - #### getManagedClass

          public Class<Layout> getManagedClass()

      Get the class of this assembler
      Returns:
        a class

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.