com.sun.enterprise.ee.cms.impl.base
Class Utility
java.lang.Object
com.sun.enterprise.ee.cms.impl.base.Utility
public class Utility
- extends Object
Utility class that can be used by any calling code to do common routines
- Author:
- shreedhar ganapathy, Bongjae Chang
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_SUCH_TIME
public static final long NO_SUCH_TIME
- See Also:
- Constant Field Values
Utility
public Utility()
setLogger
public static void setLogger(Logger theLogger)
getGMSMember
public static GMSMember getGMSMember(SystemAdvertisement systemAdvertisement)
isWatchDog
public static boolean isWatchDog(SystemAdvertisement sysAdv)
getStringProperty
public static String getStringProperty(String propertyName,
String defaultValue,
Map props)
getIntProperty
public static int getIntProperty(String propertyName,
int defaultValue,
Map props)
getLongProperty
public static long getLongProperty(String propertyName,
long defaultValue,
Map props)
getBooleanProperty
public static boolean getBooleanProperty(String propertyName,
boolean defaultValue,
Map props)
setupLogHandler
public static void setupLogHandler()
getStartTime
public static long getStartTime(SystemAdvertisement advert)
getGroupName
public static String getGroupName(SystemAdvertisement advert)
Copyright © 2012. All Rights Reserved.