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

java.lang.Object
  extended by org.apache.turbine.services.assemblerbroker.util.java.JavaBaseFactory<Page>
      extended by org.apache.turbine.services.assemblerbroker.util.java.JavaPageFactory
All Implemented Interfaces:
Loader<Page>, AssemblerFactory<Page>

public class JavaPageFactory
extends JavaBaseFactory<Page>

A screen factory that attempts to load a java class from the module packages defined in the TurbineResource.properties.

Version:
$Id: JavaPageFactory.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
JavaPageFactory()
           
 
Method Summary
 Page getAssembler(String name)
          Get an Assembler.
 Loader<Page> getLoader()
          Get the loader for this type of assembler
 Class<Page> 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

JavaPageFactory

public JavaPageFactory()
Method Detail

getAssembler

public Page getAssembler(String name)
Get an Assembler.

Parameters:
name - name of the requested Assembler
Returns:
an Assembler

getLoader

public Loader<Page> getLoader()
Get the loader for this type of assembler

Specified by:
getLoader in interface AssemblerFactory<Page>
Specified by:
getLoader in class JavaBaseFactory<Page>
Returns:
a Loader

getManagedClass

public Class<Page> getManagedClass()
Get the class of this assembler

Returns:
a class


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