org.mobicents.slee.examples.callcontrol.common
Class SubscriptionProfileSbb
java.lang.Object
org.mobicents.slee.examples.callcontrol.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 funcationality
- Author:
- torosvi, iivanov
|
Field Summary |
protected org.apache.log4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected transient org.apache.log4j.Logger log
SubscriptionProfileSbb
public SubscriptionProfileSbb()
setSbbContext
public void setSbbContext(javax.slee.SbbContext context)
- Specified by:
setSbbContext in interface javax.slee.Sbb
lookup
protected CallControlProfileCMP lookup(javax.slee.Address address)
- Looking up the called user data -> First we need a Profile CMP object to
access them.
- Parameters:
address: - Called user address.
- Returns:
- CallControlProfileCMP: The SBB uses the returned Profile CMP object
to access the attributes of the Profile identified by the profileID.
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()
getSipFactoryProvider
protected final net.java.slee.resource.sip.SleeSipProvider getSipFactoryProvider()
getAddressFactory
protected final javax.sip.address.AddressFactory getAddressFactory()
getMessageFactory
protected final javax.sip.message.MessageFactory getMessageFactory()
getCallControlProfileCMP
public abstract CallControlProfileCMP getCallControlProfileCMP(javax.slee.profile.ProfileID profileID)
throws javax.slee.profile.UnrecognizedProfileNameException,
javax.slee.profile.UnrecognizedProfileTableNameException
- Throws:
javax.slee.profile.UnrecognizedProfileNameException
javax.slee.profile.UnrecognizedProfileTableNameException
callIDSelect
public javax.slee.InitialEventSelector callIDSelect(javax.slee.InitialEventSelector ies)
Copyright © 2009. All Rights Reserved.