org.apache.wsrp4j.consumer.driver
Class InitCookieInfoImpl

java.lang.Object
  extended byorg.apache.wsrp4j.consumer.driver.InitCookieInfoImpl
All Implemented Interfaces:
InitCookieInfo
Direct Known Subclasses:
GenericGroupSessionImpl, GenericUserSessionImpl

public class InitCookieInfoImpl
extends java.lang.Object
implements InitCookieInfo


Constructor Summary
InitCookieInfoImpl(java.lang.String markupURL)
           
 
Method Summary
 java.lang.String getMarkupInterfaceURL()
          Get the markup interface URL
 WSRP_v1_Markup_PortType getWSRPBaseService()
          Get the markup interface portType
 boolean isInitCookieDone()
          Check wether a initCookie call has been done already or not.
 boolean isInitCookieRequired()
          Check if an initCookie call is generally required.
 void setInitCookieDone(boolean initCookieDone)
          Set if an initCookie call has been done already or not.
 void setInitCookieRequired(boolean initCookieRequired)
          Set a boolean value to indicate if an initCookie call needs to be done.
 void setWSRPBaseService(WSRP_v1_Markup_PortType markupPortType)
          set the markup interface portType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitCookieInfoImpl

public InitCookieInfoImpl(java.lang.String markupURL)
                   throws WSRPException
Method Detail

isInitCookieRequired

public boolean isInitCookieRequired()
Description copied from interface: InitCookieInfo
Check if an initCookie call is generally required. This does not necessarily say anything if the required initCookie call has been done already. Use isInitCookieDone for this purpose.

Specified by:
isInitCookieRequired in interface InitCookieInfo
Returns:
True if a call of init cookie is generally required.

setInitCookieRequired

public void setInitCookieRequired(boolean initCookieRequired)
Description copied from interface: InitCookieInfo
Set a boolean value to indicate if an initCookie call needs to be done.

Specified by:
setInitCookieRequired in interface InitCookieInfo
Parameters:
initCookieRequired - True if an initCookie call is generally required

isInitCookieDone

public boolean isInitCookieDone()
Description copied from interface: InitCookieInfo
Check wether a initCookie call has been done already or not.

Specified by:
isInitCookieDone in interface InitCookieInfo
Returns:
True if an initCookie has been done already

setInitCookieDone

public void setInitCookieDone(boolean initCookieDone)
Description copied from interface: InitCookieInfo
Set if an initCookie call has been done already or not.

Specified by:
setInitCookieDone in interface InitCookieInfo
Parameters:
initCookieDone - Set to true if the call has been done; false otherwise

getMarkupInterfaceURL

public java.lang.String getMarkupInterfaceURL()
Description copied from interface: InitCookieInfo
Get the markup interface URL

Specified by:
getMarkupInterfaceURL in interface InitCookieInfo
Returns:
the markup interface URL

getWSRPBaseService

public WSRP_v1_Markup_PortType getWSRPBaseService()
Description copied from interface: InitCookieInfo
Get the markup interface portType

Specified by:
getWSRPBaseService in interface InitCookieInfo
Returns:
the markup interface portType

setWSRPBaseService

public void setWSRPBaseService(WSRP_v1_Markup_PortType markupPortType)
Description copied from interface: InitCookieInfo
set the markup interface portType

Specified by:
setWSRPBaseService in interface InitCookieInfo
Parameters:
markupPortType - the markup interface portType