Permalink
Browse files

Move dispatch API to dmr module

  • Loading branch information...
1 parent a774f5d commit a2399cd0b0adbfdbeb46622277e8d9c6ca60ac88 @heiko-braun heiko-braun committed Mar 13, 2013
Showing with 400 additions and 402 deletions.
  1. +12 −0 dmr/pom.xml
  2. +5 −5 dmr/src/main/java/org/jboss/dmr/DMR.gwt.xml
  3. +1 −1 ...org/jboss/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/Action.java
  4. +1 −1 ...ss/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/ActionHandler.java
  5. +1 −1 ...jboss/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/ActionType.java
  6. +1 −1 ...oss/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/AsyncCommand.java
  7. +2 −2 ...g/jboss/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/DMRCache.java
  8. +1 −1 ...boss/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/Diagnostics.java
  9. +1 −1 ...g/jboss/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/Dispatch.java
  10. +1 −1 ...ss/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/DispatchAsync.java
  11. +1 −1 .../as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/DispatchRequest.java
  12. +1 −1 ...s/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/HandlerMapping.java
  13. +1 −1 ...org/jboss/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/Result.java
  14. +2 −2 ...e/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/impl/AbstractSimpleResult.java
  15. +3 −3 ...s/as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/impl/DMRAction.java
  16. +1 −1 ...sole/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/impl/DMREndpointConfig.java
  17. +4 −4 .../as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/impl/DMRHandler.java
  18. +2 −2 ...as/console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/impl/DMRResponse.java
  19. +7 −7 ...sole/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/impl/DispatchAsyncImpl.java
  20. +5 −5 ...onsole/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/impl/HandlerRegistry.java
  21. +2 −2 ...console/client/shared → dmr/src/main/java/org/jboss/dmr/client}/dispatch/impl/LMSDiagnostics.java
  22. +4 −4 gui/src/main/java/org/jboss/as/console/App.gwt.xml
  23. +1 −1 gui/src/main/java/org/jboss/as/console/client/core/BootstrappedEndpointConfig.java
  24. +1 −1 gui/src/main/java/org/jboss/as/console/client/core/Footer.java
  25. +3 −3 gui/src/main/java/org/jboss/as/console/client/core/bootstrap/ExecutionMode.java
  26. +3 −3 gui/src/main/java/org/jboss/as/console/client/core/gin/CoreUI.java
  27. +5 −5 gui/src/main/java/org/jboss/as/console/client/core/gin/CoreUIModule.java
  28. +3 −3 gui/src/main/java/org/jboss/as/console/client/domain/groups/ServerGroupPresenter.java
  29. +3 −3 ...src/main/java/org/jboss/as/console/client/domain/groups/deployment/DomainDeploymentPresenter.java
  30. +1 −1 gui/src/main/java/org/jboss/as/console/client/domain/hosts/HostVMMetricPresenter.java
  31. +1 −5 gui/src/main/java/org/jboss/as/console/client/domain/hosts/LoadServerCmd.java
  32. +3 −4 gui/src/main/java/org/jboss/as/console/client/domain/hosts/ServerConfigPresenter.java
  33. +1 −1 gui/src/main/java/org/jboss/as/console/client/domain/hosts/general/HostInterfacesPresenter.java
  34. +3 −3 gui/src/main/java/org/jboss/as/console/client/domain/hosts/general/HostJVMPresenter.java
  35. +1 −1 gui/src/main/java/org/jboss/as/console/client/domain/hosts/general/HostPropertiesPresenter.java
  36. +3 −3 gui/src/main/java/org/jboss/as/console/client/domain/model/impl/HostInfoStoreImpl.java
  37. +3 −3 gui/src/main/java/org/jboss/as/console/client/domain/model/impl/ProfileStoreImpl.java
  38. +1 −1 gui/src/main/java/org/jboss/as/console/client/domain/model/impl/ServerGroupLifecycleCallback.java
  39. +3 −3 gui/src/main/java/org/jboss/as/console/client/domain/model/impl/ServerGroupStoreImpl.java
  40. +1 −1 gui/src/main/java/org/jboss/as/console/client/domain/model/impl/ServerInstanceLifecycleCallback.java
  41. +1 −2 gui/src/main/java/org/jboss/as/console/client/domain/topology/TopologyPresenter.java
  42. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/deployment/DeploymentStore.java
  43. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/expr/DefaultExpressionResolver.java
  44. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/general/InterfaceManagementImpl.java
  45. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/general/InterfacePresenter.java
  46. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/general/PathManagementPresenter.java
  47. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/general/PropertiesPresenter.java
  48. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/general/SocketBindingPresenter.java
  49. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/general/model/LoadInterfacesCmd.java
  50. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/general/model/LoadSocketBindingsCmd.java
  51. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/help/HelpSystem.java
  52. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/jvm/CreateJvmCmd.java
  53. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/jvm/DeleteJvmCmd.java
  54. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/jvm/LoadJVMMetricsCmd.java
  55. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/jvm/UpdateJvmCmd.java
  56. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/model/ModelAdapter.java
  57. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/model/SubsystemStoreImpl.java
  58. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/properties/CreatePropertyCmd.java
  59. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/properties/DeletePropertyCmd.java
  60. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/properties/LoadPropertiesCmd.java
  61. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/runtime/ds/DataSourceMetricPresenter.java
  62. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/runtime/ds/LoadDataSourceCmd.java
  63. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/runtime/env/EnvironmentPresenter.java
  64. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/runtime/ext/LoadExtensionCmd.java
  65. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/runtime/jms/JMSMetricPresenter.java
  66. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/runtime/jpa/JPAMetricPresenter.java
  67. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/runtime/naming/JndiPresenter.java
  68. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/runtime/tx/TXLogPresenter.java
  69. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/runtime/tx/TXMetricPresenter.java
  70. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/runtime/web/WebMetricPresenter.java
  71. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/schedule/LongRunningTask.java
  72. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/configadmin/ConfigAdminPresenter.java
  73. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/deploymentscanner/ScannerView.java
  74. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/AbstractThreadPoolView.java
  75. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/AsyncServiceView.java
  76. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/BeanPoolsView.java
  77. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/EEPresenter.java
  78. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/EJB3Presenter.java
  79. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/EJB3View.java
  80. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/RemoteServiceView.java
  81. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/ServicesView.java
  82. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/ThreadPoolsView.java
  83. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ejb3/TimerServiceView.java
  84. +2 −2 gui/src/main/java/org/jboss/as/console/client/shared/subsys/infinispan/AbstractCacheView.java
  85. +1 −1 ...in/java/org/jboss/as/console/client/shared/subsys/infinispan/CacheContainerEntityToDmrBridge.java
  86. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/infinispan/CacheContainerView.java
  87. +2 −2 gui/src/main/java/org/jboss/as/console/client/shared/subsys/infinispan/CacheEntityToDmrBridge.java
  88. +1 −1 ...c/main/java/org/jboss/as/console/client/shared/subsys/infinispan/DefaultCacheContainerWindow.java
  89. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/infinispan/DistributedCacheView.java
  90. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/infinispan/InvalidationCacheView.java
  91. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/infinispan/LocalCacheView.java
  92. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/infinispan/NonLocalCacheView.java
  93. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/infinispan/ReplicatedCacheView.java
  94. +3 −3 ...main/java/org/jboss/as/console/client/shared/subsys/infinispan/model/CacheContainerStoreImpl.java
  95. +3 −3 ...src/main/java/org/jboss/as/console/client/shared/subsys/infinispan/model/LocalCacheStoreImpl.java
  96. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jacorb/JacOrbPresenter.java
  97. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jacorb/JacOrbView.java
  98. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/JcaPresenter.java
  99. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/LoadWorkmanagerCmd.java
  100. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/ResourceAdapterPresenter.java
  101. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/model/DataSourceStoreImpl.java
  102. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/model/DomainDriverStrategy.java
  103. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/model/StandaloneDriverStrategy.java
  104. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jgroups/JGroupsPresenter.java
  105. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jmx/JMXPresenter.java
  106. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/jpa/JpaPresenter.java
  107. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/AbstractFileHandlerSubview.java
  108. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/AbstractHandlerSubview.java
  109. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/AsyncHandlerSubview.java
  110. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/ConsoleHandlerSubview.java
  111. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/CustomHandlerSubview.java
  112. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/FileHandlerSubview.java
  113. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/LoggerSubview.java
  114. +2 −2 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/LoggingLevelProducer.java
  115. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/LoggingView.java
  116. +1 −1 ...in/java/org/jboss/as/console/client/shared/subsys/logging/PeriodicRotatingFileHandlerSubview.java
  117. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/logging/RootLoggerSubview.java
  118. +1 −1 ...c/main/java/org/jboss/as/console/client/shared/subsys/logging/SizeRotatingFileHandlerSubview.java
  119. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/mail/MailPresenter.java
  120. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/subsys/messaging/LoadHornetQServersCmd.java
  121. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/subsys/messaging/LoadJMSCmd.java
  122. +3 −4 gui/src/main/java/org/jboss/as/console/client/shared/subsys/messaging/MsgDestinationsPresenter.java
  123. +3 −3 ...main/java/org/jboss/as/console/client/shared/subsys/messaging/cluster/MsgClusteringPresenter.java
  124. +3 −3 ...java/org/jboss/as/console/client/shared/subsys/messaging/connections/MsgConnectionsPresenter.java
  125. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/modcluster/ModclusterPresenter.java
  126. +3 −3 ...c/main/java/org/jboss/as/console/client/shared/subsys/osgi/config/OSGiConfigurationPresenter.java
  127. +1 −5 gui/src/main/java/org/jboss/as/console/client/shared/subsys/osgi/runtime/BundleRuntimeView.java
  128. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/osgi/runtime/FrameworkRuntimeView.java
  129. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/osgi/runtime/OSGiRuntimePresenter.java
  130. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/osgi/runtime/OSGiRuntimeView.java
  131. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/security/SecurityDomainsPresenter.java
  132. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/security/SecurityDomainsView.java
  133. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/security/SecuritySubsystemView.java
  134. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/threads/AbstractThreadPoolView.java
  135. +1 −1 ...in/java/org/jboss/as/console/client/shared/subsys/threads/BlockingBoundedQueueThreadPoolView.java
  136. +1 −1 .../main/java/org/jboss/as/console/client/shared/subsys/threads/BlockingQueuelessThreadPoolView.java
  137. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/threads/BoundedQueueThreadPoolView.java
  138. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/threads/QueuelessThreadPoolView.java
  139. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/threads/ScheduledThreadPoolView.java
  140. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/threads/ThreadFactoryView.java
  141. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/threads/ThreadsEntityToDmrBridge.java
  142. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/threads/ThreadsView.java
  143. +1 −1 ...src/main/java/org/jboss/as/console/client/shared/subsys/threads/UnboundedQueueThreadPoolView.java
  144. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/tx/TransactionPresenter.java
  145. +4 −4 gui/src/main/java/org/jboss/as/console/client/shared/subsys/web/LoadConnectorCmd.java
  146. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/web/LoadSocketBindingsCmd.java
  147. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/web/WebPresenter.java
  148. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ws/BaseRegistry.java
  149. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ws/DomainEndpointStrategy.java
  150. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ws/StandaloneEndpointStrategy.java
  151. +3 −3 gui/src/main/java/org/jboss/as/console/client/shared/subsys/ws/WebServicePresenter.java
  152. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/util/AddressableModelCmd.java
  153. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/util/SimpleDMRResponseHandler.java
  154. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/viewframework/AbstractSingleEntityView.java
  155. +1 −1 gui/src/main/java/org/jboss/as/console/client/shared/viewframework/DmrCallback.java
  156. +2 −2 gui/src/main/java/org/jboss/as/console/client/shared/viewframework/EntityToDmrBridgeImpl.java
  157. +2 −2 gui/src/main/java/org/jboss/as/console/client/shared/viewframework/SingleEntityToDmrBridgeImpl.java
  158. +4 −4 gui/src/main/java/org/jboss/as/console/client/standalone/StandaloneServerPresenter.java
  159. +3 −3 ...rc/main/java/org/jboss/as/console/client/standalone/deployment/StandaloneDeploymentPresenter.java
  160. +1 −1 gui/src/main/java/org/jboss/as/console/client/standalone/runtime/VMMetricsPresenter.java
  161. +3 −3 gui/src/main/java/org/jboss/as/console/client/tools/BrowserPresenter.java
  162. +1 −1 gui/src/main/java/org/jboss/as/console/client/tools/mbui/workbench/preview/PreviewPresenter.java
  163. +3 −3 gui/src/main/java/org/jboss/mbui/gui/behaviour/as7/CommandFactory.java
  164. +1 −1 gui/src/main/java/org/jboss/mbui/gui/behaviour/as7/CoreGUIContract.java
  165. +1 −2 gui/src/main/java/org/jboss/mbui/gui/behaviour/as7/DMROperationProcedure.java
  166. +3 −3 gui/src/main/java/org/jboss/mbui/gui/behaviour/as7/LoadResourceProcedure.java
  167. +1 −1 gui/src/main/java/org/jboss/mbui/gui/behaviour/as7/OperationContext.java
  168. +1 −1 gui/src/main/java/org/jboss/mbui/gui/behaviour/as7/ProcedureContract.java
  169. +3 −3 gui/src/main/java/org/jboss/mbui/gui/behaviour/as7/SaveChangesetProcedure.java
  170. +1 −1 gui/src/main/java/org/jboss/mbui/gui/reification/pipeline/ImplicitBehaviourStep.java
  171. +3 −3 gui/src/main/java/org/jboss/mbui/gui/reification/preparation/ReadOperationDescriptions.java
  172. +3 −3 gui/src/main/java/org/jboss/mbui/gui/reification/preparation/ReadResourceDescription.java
  173. +5 −5 gui/src/test/java/org/jboss/as/console/client/shared/viewframework/EntityToDmrBridgeImplTest.java
  174. +4 −6 testsuite/smoke/src/test/java/org/jboss/as/console/client/TestDMRHandler.java
  175. +4 −4 testsuite/smoke/src/test/java/org/jboss/as/console/client/TestHandlerRegistry.java
  176. +3 −3 testsuite/smoke/src/test/java/org/jboss/as/console/client/TestModule.java
View
@@ -31,6 +31,18 @@
<dependencies>
+ <dependency>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>diagnostics</artifactId>
+ </dependency>
+
+
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ </dependency>
+
+
<!-- GWT -->
<dependency>
<groupId>com.google.gwt</groupId>
@@ -19,12 +19,12 @@
-->
<module rename-to='dmr_gwt'>
- <inherits name='com.google.gwt.user.User'/>
- <inherits name='com.google.gwt.http.HTTP'/>
+ <inherits name='com.google.gwt.user.User'/>
+ <inherits name='com.google.gwt.http.HTTP'/>
- <entry-point class='org.jboss.dmr.client.Bootstrap'/>
+ <inherits name="com.google.gwt.debugpanel.DebugPanel_Disabled" />
+ <entry-point class='org.jboss.dmr.client.Bootstrap'/>
- <source path='client'/>
- <source path='shared'/>
+ <source path='client'/>
</module>
@@ -17,7 +17,7 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
/**
* @author Heiko Braun
@@ -17,7 +17,7 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
import com.google.gwt.user.client.rpc.AsyncCallback;
@@ -17,7 +17,7 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
/**
* @author Heiko Braun
@@ -17,7 +17,7 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
import com.google.gwt.user.client.rpc.AsyncCallback;
@@ -1,7 +1,7 @@
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
import com.google.gwt.core.client.Scheduler;
-import org.jboss.as.console.client.shared.dispatch.impl.DMRResponse;
+import org.jboss.dmr.client.dispatch.impl.DMRResponse;
import java.util.HashMap;
import java.util.Map;
@@ -1,4 +1,4 @@
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
/**
* @author Heiko Braun
@@ -17,7 +17,7 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
/**
* @author Heiko Braun
@@ -17,7 +17,7 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
import com.google.gwt.user.client.rpc.AsyncCallback;
@@ -17,7 +17,7 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
/**
* @author Heiko Braun
@@ -1,4 +1,4 @@
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
/**
* @author Heiko Braun
@@ -17,7 +17,7 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch;
+package org.jboss.dmr.client.dispatch;
/**
* @author Heiko Braun
@@ -17,9 +17,9 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch.impl;
+package org.jboss.dmr.client.dispatch.impl;
-import org.jboss.as.console.client.shared.dispatch.Result;
+import org.jboss.dmr.client.dispatch.Result;
public abstract class AbstractSimpleResult<T> implements Result {
private T value;
@@ -17,10 +17,10 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch.impl;
+package org.jboss.dmr.client.dispatch.impl;
-import org.jboss.as.console.client.shared.dispatch.Action;
-import org.jboss.as.console.client.shared.dispatch.ActionType;
+import org.jboss.dmr.client.dispatch.Action;
+import org.jboss.dmr.client.dispatch.ActionType;
import org.jboss.dmr.client.ModelNode;
/**
@@ -1,4 +1,4 @@
-package org.jboss.as.console.client.shared.dispatch.impl;
+package org.jboss.dmr.client.dispatch.impl;
/**
* @author Heiko Braun
@@ -17,7 +17,7 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch.impl;
+package org.jboss.dmr.client.dispatch.impl;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.core.client.GWT;
@@ -28,9 +28,9 @@
import com.google.gwt.http.client.Response;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.inject.Inject;
-import org.jboss.as.console.client.shared.dispatch.ActionHandler;
-import org.jboss.as.console.client.shared.dispatch.Diagnostics;
-import org.jboss.as.console.client.shared.dispatch.DispatchRequest;
+import org.jboss.dmr.client.dispatch.ActionHandler;
+import org.jboss.dmr.client.dispatch.Diagnostics;
+import org.jboss.dmr.client.dispatch.DispatchRequest;
import org.jboss.dmr.client.ModelNode;
import static org.jboss.dmr.client.ModelDescriptionConstants.*;
@@ -17,10 +17,10 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch.impl;
+package org.jboss.dmr.client.dispatch.impl;
-import org.jboss.as.console.client.shared.dispatch.Result;
+import org.jboss.dmr.client.dispatch.Result;
import org.jboss.dmr.client.ModelNode;
/**
@@ -17,16 +17,16 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch.impl;
+package org.jboss.dmr.client.dispatch.impl;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.inject.Inject;
-import org.jboss.as.console.client.shared.dispatch.Action;
-import org.jboss.as.console.client.shared.dispatch.ActionHandler;
-import org.jboss.as.console.client.shared.dispatch.DispatchAsync;
-import org.jboss.as.console.client.shared.dispatch.DispatchRequest;
-import org.jboss.as.console.client.shared.dispatch.HandlerMapping;
-import org.jboss.as.console.client.shared.dispatch.Result;
+import org.jboss.dmr.client.dispatch.Action;
+import org.jboss.dmr.client.dispatch.ActionHandler;
+import org.jboss.dmr.client.dispatch.DispatchAsync;
+import org.jboss.dmr.client.dispatch.DispatchRequest;
+import org.jboss.dmr.client.dispatch.HandlerMapping;
+import org.jboss.dmr.client.dispatch.Result;
/**
* @author Heiko Braun
@@ -17,13 +17,13 @@
* MA 02110-1301, USA.
*/
-package org.jboss.as.console.client.shared.dispatch.impl;
+package org.jboss.dmr.client.dispatch.impl;
import com.google.inject.Inject;
-import org.jboss.as.console.client.shared.dispatch.Action;
-import org.jboss.as.console.client.shared.dispatch.ActionHandler;
-import org.jboss.as.console.client.shared.dispatch.ActionType;
-import org.jboss.as.console.client.shared.dispatch.HandlerMapping;
+import org.jboss.dmr.client.dispatch.Action;
+import org.jboss.dmr.client.dispatch.ActionHandler;
+import org.jboss.dmr.client.dispatch.ActionType;
+import org.jboss.dmr.client.dispatch.HandlerMapping;
import java.util.HashMap;
import java.util.Map;
@@ -1,7 +1,7 @@
-package org.jboss.as.console.client.shared.dispatch.impl;
+package org.jboss.dmr.client.dispatch.impl;
import com.google.gwt.debugpanel.common.ExceptionData;
-import org.jboss.as.console.client.shared.dispatch.Diagnostics;
+import org.jboss.dmr.client.dispatch.Diagnostics;
/**
* Integration with the lightweight metrics systems.
@@ -19,7 +19,7 @@
<module rename-to="app">
- <inherits name="com.google.gwt.debugpanel.DebugPanel_Disabled" />
+
<inherits name="com.google.gwt.i18n.I18N"/>
<inherits name="com.google.gwt.json.JSON"/>
<inherits name='com.google.gwt.visualization.Visualization'/>
@@ -69,12 +69,12 @@
</replace-with>
<!-- Dispatch API Configuration-->
- <replace-with class="org.jboss.as.console.client.shared.dispatch.impl.LMSDiagnostics">
- <when-type-is class="org.jboss.as.console.client.shared.dispatch.Diagnostics"/>
+ <replace-with class="org.jboss.dmr.client.dispatch.impl.LMSDiagnostics">
+ <when-type-is class="org.jboss.dmr.client.dispatch.Diagnostics"/>
</replace-with>
<replace-with class="org.jboss.as.console.client.core.BootstrappedEndpointConfig">
- <when-type-is class="org.jboss.as.console.client.shared.dispatch.impl.DMREndpointConfig"/>
+ <when-type-is class="org.jboss.dmr.client.dispatch.impl.DMREndpointConfig"/>
</replace-with>
<property-provider name="locale">
@@ -1,7 +1,7 @@
package org.jboss.as.console.client.core;
import org.jboss.as.console.client.Console;
-import org.jboss.as.console.client.shared.dispatch.impl.DMREndpointConfig;
+import org.jboss.dmr.client.dispatch.impl.DMREndpointConfig;
/**
* @author Heiko Braun
@@ -38,7 +38,7 @@
import org.jboss.as.console.client.Console;
import org.jboss.as.console.client.ProductConfig;
import org.jboss.as.console.client.auth.CurrentUser;
-import org.jboss.as.console.client.shared.dispatch.Diagnostics;
+import org.jboss.dmr.client.dispatch.Diagnostics;
import org.jboss.as.console.client.widgets.popups.DefaultPopup;
import org.jboss.ballroom.client.widgets.InlineLink;
import org.jboss.ballroom.client.widgets.window.Feedback;
@@ -22,9 +22,9 @@
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.user.client.rpc.AsyncCallback;
import org.jboss.as.console.client.core.BootstrapContext;
-import org.jboss.as.console.client.shared.dispatch.DispatchAsync;
-import org.jboss.as.console.client.shared.dispatch.impl.DMRAction;
-import org.jboss.as.console.client.shared.dispatch.impl.DMRResponse;
+import org.jboss.dmr.client.dispatch.DispatchAsync;
+import org.jboss.dmr.client.dispatch.impl.DMRAction;
+import org.jboss.dmr.client.dispatch.impl.DMRResponse;
import org.jboss.dmr.client.ModelNode;
import org.jboss.gwt.flow.client.Control;
import org.jboss.gwt.flow.client.Function;
@@ -59,9 +59,9 @@
import org.jboss.as.console.client.plugins.RuntimeExtensionRegistry;
import org.jboss.as.console.client.plugins.SubsystemRegistry;
import org.jboss.as.console.client.shared.deployment.DeploymentStore;
-import org.jboss.as.console.client.shared.dispatch.DispatchAsync;
-import org.jboss.as.console.client.shared.dispatch.HandlerMapping;
-import org.jboss.as.console.client.shared.dispatch.impl.DMRHandler;
+import org.jboss.dmr.client.dispatch.DispatchAsync;
+import org.jboss.dmr.client.dispatch.HandlerMapping;
+import org.jboss.dmr.client.dispatch.impl.DMRHandler;
import org.jboss.as.console.client.shared.expr.ExpressionResolver;
import org.jboss.as.console.client.shared.general.InterfacePresenter;
import org.jboss.as.console.client.shared.general.PathManagementPresenter;
@@ -90,12 +90,12 @@
import org.jboss.as.console.client.plugins.SubsystemRegistry;
import org.jboss.as.console.client.plugins.SubsystemRegistryImpl;
import org.jboss.as.console.client.shared.deployment.DeploymentStore;
-import org.jboss.as.console.client.shared.dispatch.DispatchAsync;
-import org.jboss.as.console.client.shared.dispatch.HandlerMapping;
+import org.jboss.dmr.client.dispatch.DispatchAsync;
+import org.jboss.dmr.client.dispatch.HandlerMapping;
import org.jboss.as.console.client.shared.state.ResponseProcessorFactory;
-import org.jboss.as.console.client.shared.dispatch.impl.DMRHandler;
-import org.jboss.as.console.client.shared.dispatch.impl.DispatchAsyncImpl;
-import org.jboss.as.console.client.shared.dispatch.impl.HandlerRegistry;
+import org.jboss.dmr.client.dispatch.impl.DMRHandler;
+import org.jboss.dmr.client.dispatch.impl.DispatchAsyncImpl;
+import org.jboss.dmr.client.dispatch.impl.HandlerRegistry;
import org.jboss.as.console.client.shared.expr.DefaultExpressionResolver;
import org.jboss.as.console.client.shared.expr.ExpressionResolver;
import org.jboss.as.console.client.shared.general.InterfacePresenter;
@@ -46,9 +46,9 @@
import org.jboss.as.console.client.domain.model.ServerGroupStore;
import org.jboss.as.console.client.domain.model.SimpleCallback;
import org.jboss.as.console.client.shared.BeanFactory;
-import org.jboss.as.console.client.shared.dispatch.DispatchAsync;
-import org.jboss.as.console.client.shared.dispatch.impl.DMRAction;
-import org.jboss.as.console.client.shared.dispatch.impl.DMRResponse;
+import org.jboss.dmr.client.dispatch.DispatchAsync;
+import org.jboss.dmr.client.dispatch.impl.DMRAction;
+import org.jboss.dmr.client.dispatch.impl.DMRResponse;
import org.jboss.as.console.client.shared.jvm.CreateJvmCmd;
import org.jboss.as.console.client.shared.jvm.DeleteJvmCmd;
import org.jboss.as.console.client.shared.jvm.Jvm;
@@ -42,9 +42,9 @@
import org.jboss.as.console.client.shared.deployment.NewDeploymentWizard;
import org.jboss.as.console.client.shared.deployment.model.ContentRepository;
import org.jboss.as.console.client.shared.deployment.model.DeploymentRecord;
-import org.jboss.as.console.client.shared.dispatch.DispatchAsync;
-import org.jboss.as.console.client.shared.dispatch.impl.DMRAction;
-import org.jboss.as.console.client.shared.dispatch.impl.DMRResponse;
+import org.jboss.dmr.client.dispatch.DispatchAsync;
+import org.jboss.dmr.client.dispatch.impl.DMRAction;
+import org.jboss.dmr.client.dispatch.impl.DMRResponse;
import org.jboss.ballroom.client.widgets.window.DefaultWindow;
import org.jboss.ballroom.client.widgets.window.Feedback;
import org.jboss.dmr.client.ModelNode;
@@ -17,7 +17,7 @@
import org.jboss.as.console.client.domain.model.SimpleCallback;
import org.jboss.as.console.client.domain.runtime.DomainRuntimePresenter;
import org.jboss.as.console.client.shared.BeanFactory;
-import org.jboss.as.console.client.shared.dispatch.DispatchAsync;
+import org.jboss.dmr.client.dispatch.DispatchAsync;
import org.jboss.as.console.client.shared.jvm.LoadJVMMetricsCmd;
import org.jboss.as.console.client.shared.jvm.model.CompositeVMMetric;
import org.jboss.as.console.client.shared.runtime.Metric;
@@ -1,14 +1,10 @@
package org.jboss.as.console.client.domain.hosts;
import com.google.gwt.user.client.rpc.AsyncCallback;
-import org.jboss.as.console.client.domain.model.HostInformationStore;
-import org.jboss.as.console.client.domain.model.ServerInstance;
-import org.jboss.as.console.client.shared.dispatch.AsyncCommand;
+import org.jboss.dmr.client.dispatch.AsyncCommand;
import org.jboss.as.console.client.shared.state.DomainEntityManager;
import org.jboss.as.console.client.shared.state.ServerInstanceList;
-import java.util.List;
-
/**
* @author Heiko Braun
* @date 12/9/11
Oops, something went wrong.

0 comments on commit a2399cd

Please sign in to comment.