Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.model
Class MetaLocator

java.lang.Object
  |
  +--oracle.panama.model.MetaLocator

public class MetaLocator
extends java.lang.Object

The locator is used to lookup factories.


Field Summary
static long GLOBAL_BRAND_ID
           

 

Method Summary
static Brand getCurrentBrand()
          Returns the brand information for the current request thread
static MetaLocator getInstance()
          Get the single instance of this locator.
 ModelFactory getModelFactory()
           
 ModelServices getModelServices()
           
static void setCurrentBrand(Brand brand)
          Sets the brand information for the current request thread

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

GLOBAL_BRAND_ID

public static long GLOBAL_BRAND_ID
Method Detail

getInstance

public static MetaLocator getInstance()
Get the single instance of this locator.
Returns:
the single instance of the locator.

getModelFactory

public ModelFactory getModelFactory()

getModelServices

public ModelServices getModelServices()

setCurrentBrand

public static void setCurrentBrand(Brand brand)
Sets the brand information for the current request thread
Parameters:
brand - The brand object

getCurrentBrand

public static Brand getCurrentBrand()
Returns the brand information for the current request thread
Returns:
brand The brand object

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.