org.glassfish.examples.ctm
Class TenantLocatorGenerator

java.lang.Object
  extended by org.glassfish.examples.ctm.TenantLocatorGenerator

public class TenantLocatorGenerator
extends Object

This is the class that creates the service locator for each known tenant.

Author:
jwells, andriy.zhdanov

Field Summary
static String ALICE
           
static int ALICE_MAX
           
static int ALICE_MIN
           
static String BOB
           
static int BOB_MAX
           
static int BOB_MIN
           
 
Constructor Summary
TenantLocatorGenerator()
           
 
Method Summary
 ServiceLocator generateLocatorPerTenant(String tenantName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALICE

public static final String ALICE
See Also:
Constant Field Values

ALICE_MIN

public static final int ALICE_MIN
See Also:
Constant Field Values

ALICE_MAX

public static final int ALICE_MAX
See Also:
Constant Field Values

BOB

public static final String BOB
See Also:
Constant Field Values

BOB_MIN

public static final int BOB_MIN
See Also:
Constant Field Values

BOB_MAX

public static final int BOB_MAX
See Also:
Constant Field Values
Constructor Detail

TenantLocatorGenerator

public TenantLocatorGenerator()
Method Detail

generateLocatorPerTenant

public ServiceLocator generateLocatorPerTenant(String tenantName)


Copyright © 2013 Oracle Corporation. All Rights Reserved.