org.nnsoft.sameas4j
Class DefaultSameAsServiceFactory

java.lang.Object
  extended by org.nnsoft.sameas4j.DefaultSameAsServiceFactory

public final class DefaultSameAsServiceFactory
extends Object

Default factory class to build a concrete implementation of SameAsService.

See Also:
SameAsServiceImpl

Method Summary
static SameAsService createNew()
          Creates a new SameAsService instance.
static SameAsService getSingletonInstance()
          Returns the singleton SameAsService instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createNew

public static SameAsService createNew()
Creates a new SameAsService instance.

Returns:
a new SameAsService instance.

getSingletonInstance

public static SameAsService getSingletonInstance()
Returns the singleton SameAsService instance.

Returns:
the singleton SameAsService instance.


Copyright © 2009-2012 99 Software Foundation. All Rights Reserved.