Author: adietish
Date: 2011-07-04 13:08:33 -0400 (Mon, 04 Jul 2011)
New Revision: 32573
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/JBossServerBehavior.java
Log:
[JBIDE-9215] added getDefaultStopArguments() to JBossBehaviorDelegate
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/JBossServerBehavior.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/JBossServerBehavior.java 2011-07-04
17:06:50 UTC (rev 32572)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/JBossServerBehavior.java 2011-07-04
17:08:33 UTC (rev 32573)
@@ -40,6 +40,9 @@
*/
public class JBossServerBehavior extends DeployableServerBehavior {
+ /**
+ * TODO: move to its own file (so that we can hide implementations and export
interfaces) & rename to IJBossBehaviourDelegate
+ */
public static interface JBossBehaviourDelegate {
public String getBehaviourTypeId();
public void setActualBehaviour(JBossServerBehavior actualBehaviour);
@@ -49,6 +52,7 @@
public void serverStarting();
public void serverStopping();
public IStatus canChangeState(String launchMode);
+ public String getDefaultStopArguments() throws CoreException;
}
private static HashMap<String, Class> delegateClassMap;
Show replies by date