Author: rob.stryker(a)jboss.com
Date: 2007-09-10 21:44:15 -0400 (Mon, 10 Sep 2007)
New Revision: 3517
Removed:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/schema/pollerTimeoutListener.exsd
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/server/polling/PollThread.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
Log:
Removed an outdated extension point. It was never used.
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/server/polling/PollThread.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/server/polling/PollThread.java 2007-09-11
00:59:37 UTC (rev 3516)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/server/polling/PollThread.java 2007-09-11
01:44:15 UTC (rev 3517)
@@ -171,7 +171,6 @@
currentState = getTimeoutBehavior();
poller.cleanup();
alertEventLogTimeout();
- fireTimeoutEvent();
finalAlert = false;
}
alertBehavior(currentState, finalAlert);
@@ -204,15 +203,7 @@
return expectedState;
}
-
- protected void fireTimeoutEvent() {
-// IServerPollerTimeoutListener[] listeners =
-// JBossServerCore.getDefault().getTimeoutListeners(poller.getClass().getName());
-// for( int i = 0; i < listeners.length; i++ ) {
-// listeners[i].serverTimedOut(getServer(), expectedState);
-// }
- }
-
+
protected IServer getServer() {
return behavior.getServer();
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2007-09-11 00:59:37 UTC (rev
3516)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2007-09-11 01:44:15 UTC (rev
3517)
@@ -3,7 +3,6 @@
<plugin>
<extension-point id="pollers"
name="org.jboss.ide.eclipse.as.core.runtime.server.pollers"
schema="schema/pollers.exsd"/>
- <extension-point id="pollerTimeoutListener"
name="org.jboss.ide.eclipse.as.core.pollerTimeoutListener"
schema="schema/pollerTimeoutListener.exsd"/>
<extension
point="org.eclipse.wst.server.core.serverTypes">
Deleted: trunk/as/plugins/org.jboss.ide.eclipse.as.core/schema/pollerTimeoutListener.exsd
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/schema/pollerTimeoutListener.exsd 2007-09-11
00:59:37 UTC (rev 3516)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/schema/pollerTimeoutListener.exsd 2007-09-11
01:44:15 UTC (rev 3517)
@@ -1,113 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.jboss.ide.eclipse.as.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.jboss.ide.eclipse.as.core"
id="pollerTimeoutListener"
name="org.jboss.ide.eclipse.as.core.pollerTimeoutListener"/>
- </appInfo>
- <documentation>
- [Enter description of this extension point.]
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="pollerTimeoutListener" minOccurs="0"
maxOccurs="unbounded"/>
- </sequence>
-
- <attribute name="point" type="string"
use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="pollerTimeoutListener">
- <complexType>
- <attribute name="pollerType" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="listener" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute kind="java"
basedOn="org.jboss.ide.eclipse.as.core.runtime.server.IServerPollerTimeoutListener"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
-</schema>