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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLOBAL_BRAND_ID
public static long GLOBAL_BRAND_ID
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
Copyright © 2003 Oracle Corporation. All Rights Reserved.