org.sitemesh.config
Class ObjectFactory.Default

java.lang.Object
  extended by org.sitemesh.config.ObjectFactory.Default
All Implemented Interfaces:
ObjectFactory
Enclosing interface:
ObjectFactory

public static class ObjectFactory.Default
extends Object
implements ObjectFactory

Default implementation of ObjectFactory that treats the object name as a class name, loading it from the current ClassLoader and instantiating with the default constructor.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sitemesh.config.ObjectFactory
ObjectFactory.Default
 
Constructor Summary
ObjectFactory.Default()
           
 
Method Summary
 Object create(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory.Default

public ObjectFactory.Default()
Method Detail

create

public Object create(String name)
Specified by:
create in interface ObjectFactory


Copyright © 2011. All Rights Reserved.