|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.prefs.PrefsContainerHelper
This class is a holder for preference framework specific utility methods
related to WTContainer. The operations include getting the exchange
container reference, getting the preference division for a given container,
getting the container given a division, etc.
Supported API: false
Field Summary | |
private static ReferenceFactory |
rf
|
private static boolean |
VERBOSE
|
Constructor Summary | |
PrefsContainerHelper()
|
Method Summary | |
static String |
getContainerDivision(WTContainerRef aContainer)
This method will return the division for a given container Supported API: false |
static String |
getContainerDivision(WTContainerRef aContainer,
boolean policy)
This method will return the division for a given container Supported API: false |
static WTContainer |
getContainerFromDivision(String division)
Will return the instance of the container given the division string. |
private static WTContainer |
getContainerFromReference(String container)
Will return the instance of the container given the reference string. |
protected static WTContainerRef |
getContainerRefFromReference(String ref)
getExchangeRefStr : returns the reference string of the exchange container for the installation. |
static WTContainerRef |
getExchangeRef()
Will return the reference of the exchange container. |
static String |
getExchangeRefStr()
getExchangeRefStr : returns the reference string of the exchange container for the installation. |
private static void |
printStack(Throwable t)
|
private static void |
printVerbose(String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static ReferenceFactory rf
private static boolean VERBOSE
Constructor Detail |
public PrefsContainerHelper()
Method Detail |
private static void printVerbose(String s)
private static void printStack(Throwable t)
public static WTContainerRef getExchangeRef()
public static WTContainer getContainerFromDivision(String division)
division
- The division for which container instance needs
to be extracted.
private static WTContainer getContainerFromReference(String container)
container
- The reference string for which container instance needs
to be extracted.
public static String getContainerDivision(WTContainerRef aContainer)
aContainer
- the container for which division string is created
public static String getContainerDivision(WTContainerRef aContainer, boolean policy)
aContainer
- the container for which division string is createdpolicy
- whether to create a policy context
public static String getExchangeRefStr()
protected static WTContainerRef getContainerRefFromReference(String ref)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |