Rhino does not introduce any API changes to the standard javax.slee.nullactivity.NullActivityFactory interface, but instead offers multiple variants with different behaviours.

Each of these variants, which all implement the standard interface, can be found at different JNDI locations in an SBB’s environment.

JNDI location Behaviour

java:comp/env/rhino/replicated/nullactivity/factory

A Null Activity Factory implementation that always creates replicated Null Activities.

These activities are replicated using the namespace’s replication resource, for example savanna or key/value store replication.

java:comp/env/rhino/nonreplicated/nullactivity/factory

A Null Activity Factory implementation that always creates non-replicated Null Activities.

These activities will only ever exist on the Rhino node that they were created on.

java:comp/env/slee/nullactivity/factory

At the default JAIN SLEE-defined JNDI location is a Null Activity Factory whose behaviour depends on the replication mode of the service it belongs to.

  • If the service is replicated, then a Null Activity Factory that always returns replicated Null Activities will be bound here.

  • If the service is not replicated, then a Null Activity Factory that always creates non-replicated Null Activities will be bound here instead.

Previous page Next page