Class JcaView
- java.lang.Object
-
- com.gwtplatform.mvp.client.ViewImpl
-
- org.jboss.hal.core.mvp.HalViewImpl
-
- org.jboss.hal.client.configuration.subsystem.jca.JcaView
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,com.gwtplatform.mvp.client.View,Iterable<elemental2.dom.HTMLElement>,org.jboss.elemento.IsElement,JcaPresenter.MyView,HalView,HasPresenter<JcaPresenter>
public class JcaView extends HalViewImpl implements JcaPresenter.MyView
Implementation note: Not based on MBUI XML due to special handling of long and short running thread pools for (distributed) work manager (only one long and short running thread pool allowed per (distributed) work manager).
-
-
Constructor Summary
Constructors Constructor Description JcaView(Dispatcher dispatcher, StatementContext statementContext, MetadataRegistry metadataRegistry, TableButtonFactory tableButtonFactory, Resources resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattach()This method should be called after the view's elements are attached to the DOM.voidsetPresenter(JcaPresenter presenter)voidupdate(ModelNode payload)voidupdateThreadPools(AddressTemplate workmanagerTemplate, String workmanager, List<Property> lrt, List<Property> srt)-
Methods inherited from class org.jboss.hal.core.mvp.HalViewImpl
detach, element, iterator
-
Methods inherited from class com.gwtplatform.mvp.client.ViewImpl
addToSlot, asWidget, removeFromSlot, setInSlot
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Constructor Detail
-
JcaView
@Inject public JcaView(Dispatcher dispatcher, StatementContext statementContext, MetadataRegistry metadataRegistry, TableButtonFactory tableButtonFactory, Resources resources)
-
-
Method Detail
-
setPresenter
public void setPresenter(JcaPresenter presenter)
- Specified by:
setPresenterin interfaceHasPresenter<JcaPresenter>
-
attach
public void attach()
Description copied from interface:HalViewThis method should be called after the view's elements are attached to the DOM. Typically this method is called fromHalPresenter.onReveal().Do not use
ViewImpl.onAttach()to initialize PatternFly components. This works for widgets only, but not for elements!- Specified by:
attachin interfaceHalView- Overrides:
attachin classHalViewImpl
-
update
public void update(ModelNode payload)
- Specified by:
updatein interfaceJcaPresenter.MyView
-
updateThreadPools
public void updateThreadPools(AddressTemplate workmanagerTemplate, String workmanager, List<Property> lrt, List<Property> srt)
- Specified by:
updateThreadPoolsin interfaceJcaPresenter.MyView
-
-