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
 java.lang.Object newInstance(java.lang.Object object, java.lang.Object[] args)
          Creates a new singleton instance for the specified object.
 

Method Detail

newInstance

public java.lang.Object newInstance(java.lang.Object object,
                                    java.lang.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