public interface EjbEntityAction extends EjbListener, J2eeKeyAction
Flow Context Variable | Java Type | Description |
---|---|---|
RESULT | java.util.List | A List containing the return value for each method call on the remote references for this EJB action. The List may be empty, but it will never be null. |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
getHomeMethod()
Returns a method on an EJB home interface, which is responsible for
returning one or more remote references.
|
void |
setHomeMethod(DynamicMethod homeMethod)
Sets a method on an EJB home interface, which is responsible for returning
one or more remote references.
|
void |
setListener(java.lang.String jndiName,
java.lang.Class home)
Sets the JNDI name and class of an EJB home interface.
|
getListenerHome, getListenerHomeAsString, getListenerJndiName, setListener
getKey, setKey
getExtraInitialContextProperties, getInitialContextFactory, getPassword, getProviderUrl, getUsername, setExtraInitialContextProperties, setInitialContextFactory, setPassword, setProviderUrl, setUsername
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutBusinessIntervalNamespace, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutBusinessIntervalNamespace, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
getRuntimeDataMap, setRuntimeDataMap
DynamicMethod getHomeMethod() throws EngineException
EngineException
- If a system error occurs.setHomeMethod(flux.DynamicMethod)
,
RemoteActionListener
void setListener(java.lang.String jndiName, java.lang.Class home)
setListener
in interface EjbListener
jndiName
- The JNDI name for the EJB's home interface.home
- The class name of the EJB's home interface.EjbListener.setListener(String, String)
void setHomeMethod(DynamicMethod homeMethod) throws EngineException
For example, to create an EJB entity bean, set a create() home method. It can be the default create() method or a custom create() method. After the entity bean is created, the actionFired() method in flux.RemoteActionListener is invoked on it.
As another example, to call a finder on a home interface and invoke a method on each remote reference in the the entire collection that is returned, set a findByMyCriteria() home method. After the entity beans are returned, the actionFired() method in flux.RemoteActionListener is invoked on each bean.
homeMethod
- A method on an EJB home interface.EngineException
- If a system error occurs.getHomeMethod()
,
RemoteActionListener
© 2000-2025 Flux Corporation. All rights reserved.