org.mobicents.slee.service.httpclientra.example
Class HttpClientRAExampleSbb
java.lang.Object
org.mobicents.slee.service.httpclientra.example.HttpClientRAExampleSbb
- All Implemented Interfaces:
- javax.slee.Sbb
public abstract class HttpClientRAExampleSbb
- extends java.lang.Object
- implements javax.slee.Sbb
This is a simple Service to demonstrate the usage of Http-client-ra
This service reads the RSS Feed link from sbb-jar.xml and fetches the
links periodically using ROME api (Look at https://rome.dev.java.net/ to know more about
ROME.)
If there are changes in the RSS Feed, this service retrieves the content of the link
- Author:
- amit.bhayani
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientRAExampleSbb
public HttpClientRAExampleSbb()
sbbActivate
public void sbbActivate()
- Specified by:
sbbActivate in interface javax.slee.Sbb
sbbCreate
public void sbbCreate()
throws javax.slee.CreateException
- Specified by:
sbbCreate in interface javax.slee.Sbb
- Throws:
javax.slee.CreateException
sbbExceptionThrown
public void sbbExceptionThrown(java.lang.Exception arg0,
java.lang.Object arg1,
javax.slee.ActivityContextInterface arg2)
- Specified by:
sbbExceptionThrown in interface javax.slee.Sbb
sbbLoad
public void sbbLoad()
- Specified by:
sbbLoad in interface javax.slee.Sbb
sbbPassivate
public void sbbPassivate()
- Specified by:
sbbPassivate in interface javax.slee.Sbb
sbbPostCreate
public void sbbPostCreate()
throws javax.slee.CreateException
- Specified by:
sbbPostCreate in interface javax.slee.Sbb
- Throws:
javax.slee.CreateException
sbbRemove
public void sbbRemove()
- Specified by:
sbbRemove in interface javax.slee.Sbb
sbbRolledBack
public void sbbRolledBack(javax.slee.RolledBackContext arg0)
- Specified by:
sbbRolledBack in interface javax.slee.Sbb
sbbStore
public void sbbStore()
- Specified by:
sbbStore in interface javax.slee.Sbb
setSbbContext
public void setSbbContext(javax.slee.SbbContext context)
- Specified by:
setSbbContext in interface javax.slee.Sbb
unsetSbbContext
public void unsetSbbContext()
- Specified by:
unsetSbbContext in interface javax.slee.Sbb
onStartServiceEvent
public void onStartServiceEvent(javax.slee.serviceactivity.ServiceStartedEvent event,
javax.slee.ActivityContextInterface aci)
onTimerEvent
public void onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
onResponseEvent
public void onResponseEvent(net.java.client.slee.resource.http.event.ResponseEvent event,
javax.slee.ActivityContextInterface aci)
setTimerID
public abstract void setTimerID(javax.slee.facilities.TimerID value)
getTimerID
public abstract javax.slee.facilities.TimerID getTimerID()
setFeedHashCode
public abstract void setFeedHashCode(int feedHashCode)
getFeedHashCode
public abstract int getFeedHashCode()
Copyright © 2009. All Rights Reserved.