|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction
org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramBaseAction
Field Summary |
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction |
DEPTH_DOMAIN, DEPTH_SERVER, m_Errors, m_Resources, m_Session, m_WhereAreYou |
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Constructor Summary | |
EditJoramBaseAction()
|
Method Summary | |
static java.lang.String |
currentServerId(java.lang.String id)
Determine the server Id from a String structure as follows: id=#x.y.z. |
protected java.util.ArrayList |
getBaseItemList(java.util.List inputList)
Treat a list (Vector) of Joram user items (example: User[anonymous]:#0.0.1035) |
ItemDestination |
getDestinationItem(java.lang.String joramAdminDestination)
Create a ItemDestination object from a String structured as follows: type=queue/topic, name=destName, id=#x.y.z |
protected java.lang.String |
getPathToExportRepository()
|
protected java.lang.String |
getPathToReloadJoramAdmin()
Get the path to the joramAdmin.xml file |
protected void |
getStatistics(javax.management.ObjectName destOn,
MonitoringDestForm oMonitForm,
DestinationForm oForm)
|
protected ItemUser |
getUserItem(java.lang.String joramAdminUser)
Create a ItemUser object from a String structured as follows: User[anonymous]:#0.0.1035 |
protected java.lang.String |
getUserName(java.lang.String userId)
Return the name of the User corresponding to a given agent id |
protected javax.management.ObjectName |
getUserOn(java.lang.String userId)
Return the ObjectName of the User MBean corresponding to a given agent id |
protected boolean |
hasDeps(java.lang.String pDestName)
|
protected void |
initRefs()
|
protected void |
populate(DestinationForm p_Form)
|
protected void |
populateDestination(javax.management.ObjectName destOn,
DestinationForm oForm)
|
void |
printDestination(ItemDestination dest)
|
protected org.apache.struts.action.ActionForward |
treatError(java.lang.Throwable pThrowable,
org.apache.struts.action.ActionMapping pMapping,
javax.servlet.http.HttpServletRequest pRequest)
Treat specific case where Joram RAR was unloaded |
protected void |
updateReadablesWriteables(DestinationForm pForm)
|
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction |
deploy, deployDataSource, deployMailFactory, getCurrentJonasDeployment, getDomainDeploymentMethodName, getDomainUploadDeployMethodName, getForwardEdit, getListDeployableFiles, getListDeployedFiles, isConfigurable, isDomain, isModule, refreshJoramTree, refreshMBeansTree, refreshServiceTree, refreshTree, refreshWebServiceTree, removeFile, runGC, setCurrentJonasDeployment, undeploy, undeployDataSource, undeployMailFactory |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EditJoramBaseAction()
Method Detail |
protected org.apache.struts.action.ActionForward treatError(java.lang.Throwable pThrowable, org.apache.struts.action.ActionMapping pMapping, javax.servlet.http.HttpServletRequest pRequest)
pMapping
- provided by executeActionpRequest
- provided by executeAction
protected java.lang.String getPathToExportRepository()
protected java.lang.String getPathToReloadJoramAdmin()
public ItemDestination getDestinationItem(java.lang.String joramAdminDestination) throws javax.management.MalformedObjectNameException
joramAdminDestination
- String containing destination description
javax.management.MalformedObjectNameException
protected ItemUser getUserItem(java.lang.String joramAdminUser) throws javax.management.MalformedObjectNameException
joramAdminUser
- String containing user description
javax.management.MalformedObjectNameException
protected javax.management.ObjectName getUserOn(java.lang.String userId)
userId
- Agent id for a user (#x.y.z.)
protected java.lang.String getUserName(java.lang.String userId)
userId
- Agent id for a user (#x.y.z.)
public void printDestination(ItemDestination dest)
protected void initRefs()
protected boolean hasDeps(java.lang.String pDestName)
public static java.lang.String currentServerId(java.lang.String id)
id
- #x.y.z
protected void populateDestination(javax.management.ObjectName destOn, DestinationForm oForm) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
protected java.util.ArrayList getBaseItemList(java.util.List inputList) throws javax.management.MalformedObjectNameException
inputList
- list of Joram user items
javax.management.MalformedObjectNameException
protected void getStatistics(javax.management.ObjectName destOn, MonitoringDestForm oMonitForm, DestinationForm oForm)
protected void populate(DestinationForm p_Form) throws java.lang.Exception
java.lang.Exception
protected void updateReadablesWriteables(DestinationForm pForm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |