public abstract class XPageAgentRegistry extends Object implements com.ibm.xsp.application.events.ApplicationListener2
Constructor and Description |
---|
XPageAgentRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
activateAgent(String strAgent,
javax.faces.context.FacesContext fc) |
String |
addExecutionProperties(HashMap<String,String> properties) |
String |
addExecutionPropertiesExtnd(Map<String,Object> properties) |
void |
addXPageAgent(XPageAgentEntry en) |
void |
applicationCreated(com.ibm.xsp.application.ApplicationEx app) |
void |
applicationDestroyed(com.ibm.xsp.application.ApplicationEx arg0) |
void |
applicationRefreshed(com.ibm.xsp.application.ApplicationEx arg0) |
XPageAgentJob |
buildAgentClass(XPageAgentEntry agenEntry,
javax.faces.context.FacesContext fc) |
int |
checkSchedule(javax.faces.context.FacesContext fc) |
void |
deActivateAgent(String strAgent) |
void |
deleteExecutionProperties(String strKey) |
void |
deleteExecutionPropertiesExtnd(String strKey) |
String |
executeJobUI(String strAgentAlias,
String strExectuionPropertiesID) |
String |
executeJobUIExtnd(String strAgentAlias,
String strExectuionPropertiesID) |
List<XPageAgentEntry> |
getAllAgents() |
static XPageAgentRegistry |
getInstance() |
static XPageAgentRegistry |
getInstance(com.ibm.designer.runtime.Application app) |
com.ibm.jscript.types.FBSValue |
getJobStatus(String strJOBID) |
XPageAgentEntry |
getXPageAgent(String strAlias) |
void |
initAgent(Class<?> aAgent) |
abstract void |
registerAgents() |
void |
reshedJob() |
public abstract void registerAgents()
public void addXPageAgent(XPageAgentEntry en)
public XPageAgentEntry getXPageAgent(String strAlias)
public int checkSchedule(javax.faces.context.FacesContext fc)
public XPageAgentJob buildAgentClass(XPageAgentEntry agenEntry, javax.faces.context.FacesContext fc) throws NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException
public void initAgent(Class<?> aAgent)
public void reshedJob()
public void applicationCreated(com.ibm.xsp.application.ApplicationEx app)
applicationCreated
in interface com.ibm.xsp.application.events.ApplicationListener
public void applicationDestroyed(com.ibm.xsp.application.ApplicationEx arg0)
applicationDestroyed
in interface com.ibm.xsp.application.events.ApplicationListener
public void applicationRefreshed(com.ibm.xsp.application.ApplicationEx arg0)
applicationRefreshed
in interface com.ibm.xsp.application.events.ApplicationListener2
public static XPageAgentRegistry getInstance(com.ibm.designer.runtime.Application app)
public static XPageAgentRegistry getInstance()
public com.ibm.jscript.types.FBSValue getJobStatus(String strJOBID)
public void deleteExecutionProperties(String strKey)
public List<XPageAgentEntry> getAllAgents()
public void activateAgent(String strAgent, javax.faces.context.FacesContext fc)
public void deActivateAgent(String strAgent)
public String addExecutionPropertiesExtnd(Map<String,Object> properties)
public String executeJobUIExtnd(String strAgentAlias, String strExectuionPropertiesID)
public void deleteExecutionPropertiesExtnd(String strKey)
Copyright © 2021. All Rights Reserved.