cgl.narada.wsinfra.wsr.impl
Class WsrUtil

java.lang.Object
  extended by cgl.narada.wsinfra.wsr.impl.WsrUtil

public class WsrUtil
extends Object


Constructor Summary
WsrUtil()
           
 
Method Summary
 Calendar getCalendarOfString(String calendar)
          to help in retrieval of Calendar value this method converts String into the Calendar value
 GDuration getDurationOfString(String duration)
          to help in retrieval of GDuration value this method converts String into the GDuration value
static WsrUtil getInstance()
           
 String getStringOfCalendar(Calendar calendar)
          to help database insertion of Calendar value this method convert it into the String value
 String getStringOfDuration(GDuration duration)
          to help database insertion of GDuration value this method convert it into the String value
 boolean isDurationPassed(GDuration duration)
          checks the validity of GroupMaxIdleDuration
 boolean isExpiryTimePassed(Calendar expiryTime)
          checks the validity of Group or Message Expiry Time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsrUtil

public WsrUtil()
Method Detail

getInstance

public static WsrUtil getInstance()

isExpiryTimePassed

public boolean isExpiryTimePassed(Calendar expiryTime)
checks the validity of Group or Message Expiry Time


isDurationPassed

public boolean isDurationPassed(GDuration duration)
checks the validity of GroupMaxIdleDuration


getStringOfCalendar

public String getStringOfCalendar(Calendar calendar)
to help database insertion of Calendar value this method convert it into the String value


getStringOfDuration

public String getStringOfDuration(GDuration duration)
to help database insertion of GDuration value this method convert it into the String value


getCalendarOfString

public Calendar getCalendarOfString(String calendar)
to help in retrieval of Calendar value this method converts String into the Calendar value


getDurationOfString

public GDuration getDurationOfString(String duration)
to help in retrieval of GDuration value this method converts String into the GDuration value



For comments and suggestions please send e-mail to The NaradaBrokering Project