com.bea.commerce.campaign.action
Class ActionDef
java.lang.Object
|
+--com.bea.commerce.campaign.action.ActionDef
- All Implemented Interfaces:
- CampaignConstants, java.io.Serializable
- Direct Known Subclasses:
- AddAdToPlaceholderActionDef, EndScenarioActionDef, MailActionDef
- public class ActionDef
- extends java.lang.Object
- implements java.io.Serializable, CampaignConstants
Definition of an Action object. This can be used to create
an Action through the ActionServer so that the Action
implementation classes will be reloaded by hot-deploying
them along with the ActionServer EJB.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionDef
public ActionDef()
createAction
public Action createAction()
throws ActionException
- Create and return the Action implementation defined in
the actionType field; initialized with the parameters in
actionParams.
- Returns:
- the created Action implementation
getActionService
protected ActionService getActionService()
throws javax.ejb.CreateException,
java.rmi.RemoteException,
ToolkitException
setActionParams
public void setActionParams(java.util.Map map)
- Set the parameters for the Action. This is
simply a map of name/value pairs; it is up to
the developer to know what values must be passed
to the particular Action implementation.
getActionParams
public java.util.Map getActionParams()
- Get the parameters for the Action. This is
simply a map of name/value pairs; it is up to
the developer to know what values must be passed
to the particular Action implementation.
setActionType
public void setActionType(java.lang.String s)
- Set the type of Action to create. This will be
passed to the ActionServer, which will map the
type to a class, and instantiate that class.
getActionType
public java.lang.String getActionType()
- Get the type of Action to create. This will be
passed to the ActionServer, which will map the
type to a class, and instantiate that class.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved