|
|||||||||
| Home >> All >> org >> mobicents >> slee >> [ runtime overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mobicents.slee.runtime
Class SbbEntityFactory

java.lang.Objectorg.mobicents.slee.runtime.SbbEntityFactory
- public class SbbEntityFactory
- extends java.lang.Object
SbbEntityFactory -- implements a map from SBB Entity Id to SBB Entity instances. This is the sole place where Sbb Entities are created and destroyed. We keep a map of SBB Entity ID to SBB Entity here and return Sbb Entities that are stored in this map.
| Field Summary | |
private static org.jboss.logging.Logger |
log
|
private org.mobicents.slee.container.SleeContainer |
serviceContainer
|
private static java.lang.String |
tcache
|
| Constructor Summary | |
SbbEntityFactory(org.mobicents.slee.container.SleeContainer container)
|
|
| Method Summary | |
SbbEntity |
createRootSbbEnity(SbbID sbbId,
ServiceID svcId,
java.lang.String convergenceName)
|
SbbEntity |
createSbbEntity(SbbID sbbId,
ServiceID svcId,
java.lang.String parentSbbEntityId,
java.lang.String convergenceName)
|
private java.lang.String |
genId()
|
SbbEntity |
getSbbEntity(java.lang.String sbbeId)
Call this function when you want to get an instantiated SbbEntity from the cache. |
boolean |
isStale(java.lang.String sbbeId)
|
private void |
putInTxCache(java.lang.String sbbeID,
SbbEntity sbb)
|
void |
removeFromCache(java.lang.String sbbeId)
Remove the entity id to entity map. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
tcache
private static java.lang.String tcache
serviceContainer
private org.mobicents.slee.container.SleeContainer serviceContainer
log
private static org.jboss.logging.Logger log
| Constructor Detail |
SbbEntityFactory
public SbbEntityFactory(org.mobicents.slee.container.SleeContainer container)
| Method Detail |
genId
private java.lang.String genId()
createSbbEntity
public SbbEntity createSbbEntity(SbbID sbbId, ServiceID svcId, java.lang.String parentSbbEntityId, java.lang.String convergenceName)
createRootSbbEnity
public SbbEntity createRootSbbEnity(SbbID sbbId, ServiceID svcId, java.lang.String convergenceName)
putInTxCache
private void putInTxCache(java.lang.String sbbeID, SbbEntity sbb)
removeFromCache
public void removeFromCache(java.lang.String sbbeId)
- Remove the entity id to entity map. Call this when destroying the
sbb entity -- when we no longer need to hold a reference to it.
getSbbEntity
public SbbEntity getSbbEntity(java.lang.String sbbeId)
- Call this function when you want to get an instantiated SbbEntity from the
cache.
isStale
public boolean isStale(java.lang.String sbbeId)
|
|||||||||
| Home >> All >> org >> mobicents >> slee >> [ runtime overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.mobicents.slee.runtime.SbbEntityFactory