org.clapper.curn
Class CurnFactory

java.lang.Object
  extended by org.clapper.curn.CurnFactory

public class CurnFactory
extends java.lang.Object

This static singleton class is used to allocate a new Curn object for RSS processing. Hiding the allocation behind a factory allows for various bootstrap activities, including the installation and use of a different class loader that adds the plug-in jars and directories to the load path at runtime.

Version:
$Revision: 6491 $

Method Summary
static Curn newCurn()
          Create a new Curn object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newCurn

public static Curn newCurn()
                    throws CurnException
Create a new Curn object. The resulting object will be loaded via a different class loader. This method also implicitly loads the plug-ins.

Returns:
the Curn object
Throws:
CurnException - on error


Copyright © 2004-2006 Brian M. Clapper. All Rights Reserved.