javax.slee.nullactivity
Interface NullActivityFactory


public interface NullActivityFactory

The Null Activity Factory is used by SBBs to create new null activities.

SBB JNDI Location:
java:comp/env/slee/nullactivity/factory

See Also:
NullActivity, NullActivityContextInterfaceFactory

Method Summary
 NullActivity createNullActivity()
          Create a new null activity.
 

Method Detail

createNullActivity

public NullActivity createNullActivity()
                                throws TransactionRequiredLocalException,
                                       FactoryException
Create a new null activity.

This method is a mandatory transactional method. The null activity will only be created if the transaction invoking this method commits successfully.

Throws:
TransactionRequiredLocalException - if this method is invoked without a valid transaction context.
FactoryException - if the null activity could not be created due to a system-level failure.