de.uplanet.lucy.server.auxiliaries
Class CallableFactory

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.CallableFactory

@VelocityCallable(value="instance")
public final class CallableFactory
extends java.lang.Object

Version:
$Revision: 79300 $

Constructor Summary
CallableFactory()
           
 
Method Summary
 java.lang.Object construct(java.lang.String p_strCallable)
          Constructs always a new object
 java.lang.Object get(java.lang.String p_strCallable)
          Works like a singleton factory for a request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallableFactory

public CallableFactory()
Method Detail

get

public java.lang.Object get(java.lang.String p_strCallable)
Works like a singleton factory for a request. Constructs a callable and returns this every time for the current request.

Parameters:
p_strCallable - The callable to construct.
Returns:
the callable object

construct

public java.lang.Object construct(java.lang.String p_strCallable)
Constructs always a new object

Parameters:
p_strCallable - The callable to construct.
Returns:
the callable object


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.