|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramBaseAction
public abstract class 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,
java.lang.String serverName)
Treat a list (Vector) of Joram user items (example: User[anonymous]:#0.0.1035) |
ItemDestination |
getDestinationItem(java.lang.String joramAdminDestination,
java.lang.String serverName)
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,
java.lang.String serverName)
|
protected ItemUser |
getUserItem(java.lang.String joramAdminUser,
java.lang.String serverName)
Create a ItemUser object from a String structured as follows: User[anonymous]:#0.0.1035 |
protected java.lang.String |
getUserName(java.lang.String userId,
java.lang.String jonasServerName)
Return the name of the User corresponding to a given agent id |
protected javax.management.ObjectName |
getUserOn(java.lang.String userId,
java.lang.String serverName)
Return the ObjectName of the User MBean corresponding to a given agent id |
protected boolean |
hasDeps(java.lang.String pDestName,
java.lang.String jonasServerName)
|
protected void |
initRefs(java.lang.String jonasServerName)
|
protected void |
populate(DestinationForm p_Form)
|
protected void |
populateDestination(javax.management.ObjectName destOn,
DestinationForm oForm,
java.lang.String serverName)
|
void |
printDestination(ItemDestination dest,
java.lang.String serverName)
|
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,
java.lang.String jonasServerName)
|
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)
t
- Exception to treatpMapping
- provided by executeActionpRequest
- provided by executeAction
protected java.lang.String getPathToExportRepository()
protected java.lang.String getPathToReloadJoramAdmin()
public ItemDestination getDestinationItem(java.lang.String joramAdminDestination, java.lang.String serverName) throws javax.management.MalformedObjectNameException
joramAdminDestination
- String containing destination descriptionserverName
- the name of the JOnAS server to which the current JORAM server is connected
javax.management.MalformedObjectNameException
- could not construct destination ObjectNameprotected ItemUser getUserItem(java.lang.String joramAdminUser, java.lang.String serverName) throws javax.management.MalformedObjectNameException
joramAdminUser
- String containing user descriptionserverName
- the name of the JOnAS server to which the current JORAM server is connected
javax.management.MalformedObjectNameException
protected javax.management.ObjectName getUserOn(java.lang.String userId, java.lang.String serverName)
userId
- Agent id for a user (#x.y.z.)serverName
- the name of the JOnAS server to which the current JORAM server is connected
protected java.lang.String getUserName(java.lang.String userId, java.lang.String jonasServerName)
userId
- Agent id for a user (#x.y.z.)jonasServerName
- the name of the JOnAS server to which the current JORAM server is connected
public void printDestination(ItemDestination dest, java.lang.String serverName)
protected void initRefs(java.lang.String jonasServerName)
protected boolean hasDeps(java.lang.String pDestName, java.lang.String jonasServerName)
public static java.lang.String currentServerId(java.lang.String id)
id
- #x.y.z
protected void populateDestination(javax.management.ObjectName destOn, DestinationForm oForm, java.lang.String serverName) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
protected java.util.ArrayList getBaseItemList(java.util.List inputList, java.lang.String serverName) throws javax.management.MalformedObjectNameException
inputList
- list of Joram user items
javax.management.MalformedObjectNameException
protected void getStatistics(javax.management.ObjectName destOn, MonitoringDestForm oMonitForm, DestinationForm oForm, java.lang.String serverName)
protected void populate(DestinationForm p_Form) throws java.lang.Exception
java.lang.Exception
protected void updateReadablesWriteables(DestinationForm pForm, java.lang.String jonasServerName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |