org.gcube.common.uri
Class MintProvider

java.lang.Object
  extended by org.gcube.common.uri.MintProvider

public class MintProvider
extends Object

Configurable factory of Mint instances.

It can be used as the simplest approach to enable client code testing.

Author:
Fabio Simeoni

Constructor Summary
MintProvider()
           
 
Method Summary
static Mint mint()
          Provides a Mint
static void setMint(Mint mint)
          Sets the Mint to provide.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MintProvider

public MintProvider()
Method Detail

mint

public static Mint mint()
Provides a Mint

Returns:
the mint

setMint

public static void setMint(Mint mint)
Sets the Mint to provide.

Parameters:
mint - the mint


Copyright © 2013. All Rights Reserved.