org.apache.jetspeed.util.template
Class JetspeedLinkFactory

java.lang.Object
  extended byorg.apache.jetspeed.util.template.JetspeedLinkFactory

public class JetspeedLinkFactory
extends java.lang.Object

Return a JetspeedLink object. The object may be returned from a pool or instanciated. The pool is maintained by Turbine's pool service.


Constructor Summary
JetspeedLinkFactory()
           
 
Method Summary
static JetspeedLink getInstance(org.apache.turbine.util.RunData rundata)
          Get an initialized JetspeedLink object.
static void putInstance(JetspeedLink jetspeedLink)
          Return an object to the pool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JetspeedLinkFactory

public JetspeedLinkFactory()
Method Detail

getInstance

public static JetspeedLink getInstance(org.apache.turbine.util.RunData rundata)
                                throws org.apache.turbine.util.TurbineException
Get an initialized JetspeedLink object. The object may be retreived from a pool. If no object is available in the pool, then one will be instanciated. The object will be initialized with Rundata.

Parameters:
rundata - The request data.
Returns:
JetspeedLink
Throws:
org.apache.turbine.util.TurbineException - by Turbine's pool service

putInstance

public static void putInstance(JetspeedLink jetspeedLink)
Return an object to the pool

Parameters:
jetspeedLink - object to return to pool


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.