mandala.util
Interface SingletonGiver.Factory

Enclosing interface:
SingletonGiver

public static interface SingletonGiver.Factory

Interface that define how singleton are created.

See Also:
SingletonGiver

Method Summary
 Object newInstance(Object object, Object[] args)
          Creates a new singleton instance for the specified object.
 

Method Detail

newInstance

public Object newInstance(Object object,
                          Object[] args)

Creates a new singleton instance for the specified object.

Parameters:
object - the object to create the singleton for
args - the arguments required to construct the related singleton
Returns:
the new singleton
See Also:
SingletonGiver.getInstance(Object, Object[])


Mandala help mailing list