org.ow2.clif.util
Class ItfName

java.lang.Object
  extended by org.ow2.clif.util.ItfName

public abstract class ItfName
extends java.lang.Object

Interface unique name generator for collection client interfaces.

Author:
Bruno Dillenseger

Field Summary
protected static java.util.Map<java.lang.String,java.math.BigInteger> interfaces
           
 
Constructor Summary
ItfName()
           
 
Method Summary
static java.lang.String gen(java.lang.String itfBaseName)
          Unique interface name generation (uniqueness is bound to this class definition in one JVM)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interfaces

protected static java.util.Map<java.lang.String,java.math.BigInteger> interfaces
Constructor Detail

ItfName

public ItfName()
Method Detail

gen

public static java.lang.String gen(java.lang.String itfBaseName)
Unique interface name generation (uniqueness is bound to this class definition in one JVM)

Parameters:
itfBaseName - interface name to be used as a prefix for unique name generation
Returns:
a new unique name with the given prefix