org.mobicents.slee.training.example8.common
Class SubscriptionProfileSbb

java.lang.Object
  extended by org.mobicents.slee.training.example8.common.SubscriptionProfileSbb
All Implemented Interfaces:
javax.slee.Sbb

public abstract class SubscriptionProfileSbb
extends java.lang.Object
implements javax.slee.Sbb

Base SBB offering profile lookup functionality

Author:
MoBitE info@mobite.co.in

Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
SubscriptionProfileSbb()
           
 
Method Summary
abstract  EventControlProfileCMP getEventControlProfileCMP(javax.slee.profile.ProfileID profileID)
           
protected  org.mobicents.slee.resource.lab.ratype.MessageResourceAdaptorSbbInterface getMessageResourceAdaptorSbbInterface()
           
protected  javax.slee.profile.ProfileFacility getProfileFacility()
           
protected  javax.slee.SbbContext getSbbContext()
           
protected  javax.slee.SbbLocalObject getSbbLocalObject()
           
protected  EventControlProfileCMP lookup(java.lang.String activityId)
           
 void sbbActivate()
           
 void sbbCreate()
           
 void sbbExceptionThrown(java.lang.Exception exception, java.lang.Object event, javax.slee.ActivityContextInterface aci)
           
 void sbbLoad()
           
 void sbbPassivate()
           
 void sbbPostCreate()
           
 void sbbRemove()
           
 void sbbRolledBack(javax.slee.RolledBackContext context)
           
 void sbbStore()
           
 void setSbbContext(javax.slee.SbbContext context)
           
 void unsetSbbContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

SubscriptionProfileSbb

public SubscriptionProfileSbb()
Method Detail

setSbbContext

public void setSbbContext(javax.slee.SbbContext context)
Specified by:
setSbbContext in interface javax.slee.Sbb

lookup

protected EventControlProfileCMP lookup(java.lang.String activityId)

unsetSbbContext

public void unsetSbbContext()
Specified by:
unsetSbbContext 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

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

sbbPassivate

public void sbbPassivate()
Specified by:
sbbPassivate in interface javax.slee.Sbb

sbbActivate

public void sbbActivate()
Specified by:
sbbActivate in interface javax.slee.Sbb

sbbLoad

public void sbbLoad()
Specified by:
sbbLoad in interface javax.slee.Sbb

sbbStore

public void sbbStore()
Specified by:
sbbStore in interface javax.slee.Sbb

sbbExceptionThrown

public void sbbExceptionThrown(java.lang.Exception exception,
                               java.lang.Object event,
                               javax.slee.ActivityContextInterface aci)
Specified by:
sbbExceptionThrown in interface javax.slee.Sbb

sbbRolledBack

public void sbbRolledBack(javax.slee.RolledBackContext context)
Specified by:
sbbRolledBack in interface javax.slee.Sbb

getSbbContext

protected final javax.slee.SbbContext getSbbContext()

getProfileFacility

protected final javax.slee.profile.ProfileFacility getProfileFacility()

getSbbLocalObject

protected final javax.slee.SbbLocalObject getSbbLocalObject()

getEventControlProfileCMP

public abstract EventControlProfileCMP getEventControlProfileCMP(javax.slee.profile.ProfileID profileID)
                                                          throws javax.slee.profile.UnrecognizedProfileNameException,
                                                                 javax.slee.profile.UnrecognizedProfileTableNameException
Throws:
javax.slee.profile.UnrecognizedProfileNameException
javax.slee.profile.UnrecognizedProfileTableNameException

getMessageResourceAdaptorSbbInterface

protected org.mobicents.slee.resource.lab.ratype.MessageResourceAdaptorSbbInterface getMessageResourceAdaptorSbbInterface()


Copyright © 2009. All Rights Reserved.