org.mobicents.sippresence.server.pidfmanipulation
Class PIDFManipulationRootSbb

java.lang.Object
  extended by org.mobicents.sippresence.server.pidfmanipulation.PIDFManipulationRootSbb
All Implemented Interfaces:
javax.slee.Sbb

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

A SBB that upon handling service activation event subscribes the pidf-manipulation app usage in the XDMS, and manages the publications of all the docs it contains.

Author:
martins

Constructor Summary
PIDFManipulationRootSbb()
           
 
Method Summary
abstract  org.mobicents.slee.ChildRelationExt getChildRelation()
           
 void onActivityEndEvent(javax.slee.ActivityEndEvent event, javax.slee.ActivityContextInterface aci)
          Service deactivation event handling.
 void onAttributeUpdatedEvent(AttributeUpdatedEvent event, javax.slee.ActivityContextInterface aci)
          An attribute was updated in the Datasource.
 void onDocumentUpdatedEvent(DocumentUpdatedEvent event, javax.slee.ActivityContextInterface aci)
          A doc was updated in the Datasource
 void onElementUpdatedEvent(ElementUpdatedEvent event, javax.slee.ActivityContextInterface aci)
          An element was updated in the Datasource
 void onServiceStartedEvent(javax.slee.serviceactivity.ServiceStartedEvent event, javax.slee.ActivityContextInterface aci)
          Service activation event handling.
 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
 

Constructor Detail

PIDFManipulationRootSbb

public PIDFManipulationRootSbb()
Method Detail

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

getChildRelation

public abstract org.mobicents.slee.ChildRelationExt getChildRelation()

onServiceStartedEvent

public void onServiceStartedEvent(javax.slee.serviceactivity.ServiceStartedEvent event,
                                  javax.slee.ActivityContextInterface aci)
Service activation event handling.

Parameters:
event -
aci -

onActivityEndEvent

public void onActivityEndEvent(javax.slee.ActivityEndEvent event,
                               javax.slee.ActivityContextInterface aci)
Service deactivation event handling.

Parameters:
event -
aci -

onAttributeUpdatedEvent

public void onAttributeUpdatedEvent(AttributeUpdatedEvent event,
                                    javax.slee.ActivityContextInterface aci)
An attribute was updated in the Datasource.

Parameters:
event -
aci -

onDocumentUpdatedEvent

public void onDocumentUpdatedEvent(DocumentUpdatedEvent event,
                                   javax.slee.ActivityContextInterface aci)
A doc was updated in the Datasource

Parameters:
event -
aci -

onElementUpdatedEvent

public void onElementUpdatedEvent(ElementUpdatedEvent event,
                                  javax.slee.ActivityContextInterface aci)
An element was updated in the Datasource

Parameters:
event -
aci -

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 exception,
                               java.lang.Object event,
                               javax.slee.ActivityContextInterface aci)
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 context)
Specified by:
sbbRolledBack in interface javax.slee.Sbb

sbbStore

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


Copyright © 2011. All Rights Reserved.