| org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramBaseAction
All known Subclasses: org.objectweb.jonas.webapp.jonasadmin.joramplatform.CreateJoramLocalDestinationAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.ListJoramServersAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.AddJoramWriterAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.ApplyJoramTopicAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.ListRemoteDestinationsAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.ReloadJoramAdmin, org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramQueueAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramServerAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramResourceAdapterAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.AddJoramReaderAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramRemoteServerAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.ApplyJoramWriterAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.ExportRepository, org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramPlatformAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramUserAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramTopicAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.CreateJoramUserAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.ListLocalDestinationsAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramLocalServerAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramDestinationAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.CreateJoramDestinationAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.ApplyJoramQueueAction, org.objectweb.jonas.webapp.jonasadmin.joramplatform.ApplyJoramReaderAction,
EditJoramBaseAction | abstract public class EditJoramBaseAction extends BaseDeployAction (Code) | | author: Adriana Danes |
Method Summary | |
public static String | currentServerId(String id) Determine the server Id from a String structure as follows:
id=#x.y.z. | protected ArrayList | getBaseItemList(List inputList, String serverName) | public ItemDestination | getDestinationItem(String joramAdminDestination, String serverName) | protected String | getPathToExportRepository() | protected String | getPathToReloadJoramAdmin() | protected void | getStatistics(ObjectName destOn, MonitoringDestForm oMonitForm, DestinationForm oForm, String serverName) | protected ItemUser | getUserItem(String joramAdminUser, String serverName) | protected String | getUserName(String userId, String jonasServerName) | protected ObjectName | getUserOn(String userId, String serverName) | protected boolean | hasDeps(String pDestName, String jonasServerName) | protected void | initRefs(String jonasServerName) | protected void | populate(DestinationForm p_Form) | protected void | populateDestination(ObjectName destOn, DestinationForm oForm, String serverName) | public void | printDestination(ItemDestination dest, String serverName) | void | printUser(ItemUser user) | void | testReaderList(DestinationForm pForm, String jonasServerName) | protected ActionForward | treatError(Throwable pThrowable, ActionMapping pMapping, HttpServletRequest pRequest) | protected void | updateReadablesWriteables(DestinationForm pForm, String jonasServerName) |
currentServerId | public static String currentServerId(String id)(Code) | | Determine the server Id from a String structure as follows:
id=#x.y.z. The serrver id to be returned is "y"
Parameters: id - #x.y.z y |
getDestinationItem | public ItemDestination getDestinationItem(String joramAdminDestination, String serverName) throws MalformedObjectNameException(Code) | | Create a ItemDestination object from a String structured as follows:
type=queue/topic, name=destName, id=#x.y.z
Parameters: joramAdminDestination - String containing destination description Parameters: serverName - the name of the JOnAS server to which the current JORAM server is connected ItemDestination containing name, type, id and ObjectName of the MBean associated to the corresponding destination throws: MalformedObjectNameException - could not construct destination ObjectName |
getPathToExportRepository | protected String getPathToExportRepository()(Code) | | |
getPathToReloadJoramAdmin | protected String getPathToReloadJoramAdmin()(Code) | | Get the path to the joramAdmin.xml file
|
getUserItem | protected ItemUser getUserItem(String joramAdminUser, String serverName) throws MalformedObjectNameException(Code) | | Create a ItemUser object from a String structured as follows:
User[anonymous]:#0.0.1035
Parameters: joramAdminUser - String containing user description Parameters: serverName - the name of the JOnAS server to which the current JORAM server is connected ItemUser containing name and ObjectName of the MBean associated to the corresponding user throws: MalformedObjectNameException - |
getUserName | protected String getUserName(String userId, String jonasServerName)(Code) | | Return the name of the User corresponding to a given agent id
Parameters: userId - Agent id for a user (#x.y.z.) Parameters: jonasServerName - the name of the JOnAS server to which the current JORAM server is connected the value of the name attribute of the User MBean having the ProxyId attribute equal to the userId |
getUserOn | protected ObjectName getUserOn(String userId, String serverName)(Code) | | Return the ObjectName of the User MBean corresponding to a given agent id
Parameters: userId - Agent id for a user (#x.y.z.) Parameters: serverName - the name of the JOnAS server to which the current JORAM server is connected the Objectname of the User MBean having the ProxyId attribute equal to the userId |
initRefs | protected void initRefs(String jonasServerName)(Code) | | |
treatError | protected ActionForward treatError(Throwable pThrowable, ActionMapping pMapping, HttpServletRequest pRequest)(Code) | | Treat specific case where Joram RAR was unloaded
Parameters: t - Exception to treat Parameters: pMapping - provided by executeAction Parameters: pRequest - provided by executeAction |
|
|