All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.slee.profile.ProfileTableActivityContextInterfaceFactory Maven / Gradle / Ivy

The newest version!
package javax.slee.profile;

import javax.slee.ActivityContextInterface;
import javax.slee.FactoryException;
import javax.slee.UnrecognizedActivityException;
import javax.slee.TransactionRequiredLocalException;

/**
 * The Profile Table Activity Context Interface Factory is used by SBBs to obtain
 * an ActivityContextInterface object for a profile table activity.
 * 

* An SBB obtains access to a ProfileTableActivityContextInterfaceFactory * object via its JNDI environment. The Profile Table Activity Context Interface * Factory is bound into JNDI using the name specified by {@link #JNDI_NAME}. */ public interface ProfileTableActivityContextInterfaceFactory { /** * Constant declaring the JNDI name where a * ProfileTableActivityContextInterfaceFactory object is bound * into an SBB's JNDI environment. *

* The value of this constant is "java:comp/env/slee/facilities/profiletableactivitycontextinterfacefactory". * @since SLEE 1.1 */ public static final String JNDI_NAME = "java:comp/env/slee/facilities/profiletableactivitycontextinterfacefactory"; /** * Get an ActivityContextInterface object for the profile table activity. *

* This method is a mandatory transactional method. * @param activity the profile table activity. * @return an ActivityContextInterface object that encapsulates the * profile table activity. * @throws NullPointerException if activity is null. * @throws TransactionRequiredLocalException if this method is invoked without a valid transaction * context. * @throws UnrecognizedActivityException if activity is not a * valid profile table activity created by the SLEE. * @throws FactoryException if the ActivityContextInterface object * could not be created due to a system-level failure. */ public ActivityContextInterface getActivityContextInterface(ProfileTableActivity activity) throws NullPointerException, TransactionRequiredLocalException, UnrecognizedActivityException, FactoryException; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy