/** * Executes the backend action. * * @return the action execution status. */ protected boolean executeAction() { return executeAction(getAction(), getActionContext(), createSubject(getUserName()), getStartupLocale()); }
/** * Retrieves the backend action to execute. * * @return the backend action to execute. */ protected BackendAction getAction() { return (BackendAction) getApplicationContext().getBean(getActionBeanId()); }
/** * Creates a user subject. * * @return a user subject. */ protected Subject createSubject() { return createSubject(getUserName()); }
/** * {@inheritDoc} */ @Override public void start() { try { super.start(); executeAction(); } finally { IBackendController bc = getBackendController(); if (bc != null) { bc.cleanupRequestResources(); } } }
/** * Sets the batchUserName. * * @param batchUserName * the batchUserName to set. * @deprecated use setUserName instead. */ @Deprecated public void setBatchUserName(String batchUserName) { setUserName(batchUserName); }