Class MBeanOperationComposite

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<JmixDetails>
io.jmix.jmxconsole.view.MBeanOperationComposite
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class MBeanOperationComposite extends com.vaadin.flow.component.Composite<JmixDetails> implements org.springframework.context.ApplicationContextAware, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasEnabled, org.springframework.beans.factory.InitializingBean, com.vaadin.flow.component.HasComponents
Represents a composite UI component for displaying and invoking MBean operations. The component includes all relevant controls and logic for handling JMX MBean operations.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.springframework.context.ApplicationContext
     
     
     
     
    protected Map<com.vaadin.flow.component.Component,String>
     
    protected DataComponents
     
    protected com.vaadin.flow.component.html.Span
     
    protected DialogWindows
     
    protected JmixDetails
     
    protected JmixButton
     
    protected Messages
     
    protected com.vaadin.flow.component.html.H4
     
    protected Notifications
     
     
    protected com.vaadin.flow.component.orderedlayout.VerticalLayout
     
    protected UiComponents
     
    protected com.vaadin.flow.component.orderedlayout.VerticalLayout
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
     
    protected void
     
    protected JmixDetails
     
    protected void
    onInvokeButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> buttonClickEvent)
     
    void
    setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
     
    void
     

    Methods inherited from class com.vaadin.flow.component.Composite

    getChildren, getContent, getElement

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasComponents

    add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    Methods inherited from interface com.vaadin.flow.component.HasSize

    getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Field Details

    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
    • uiComponents

      protected UiComponents uiComponents
    • notifications

      protected Notifications notifications
    • messages

      protected Messages messages
    • dataComponents

      protected DataComponents dataComponents
    • dialogWindows

      protected DialogWindows dialogWindows
    • attributeDc

      protected CollectionContainer<ManagedBeanAttribute> attributeDc
    • attributeDl

      protected CollectionLoader<ManagedBeanAttribute> attributeDl
    • operationVbox

      protected com.vaadin.flow.component.orderedlayout.VerticalLayout operationVbox
    • verticalLayout

      protected com.vaadin.flow.component.orderedlayout.VerticalLayout verticalLayout
    • nameLabel

      protected com.vaadin.flow.component.html.H4 nameLabel
    • descriptionSpan

      protected com.vaadin.flow.component.html.Span descriptionSpan
    • form

      protected JmixDetails form
    • invokeBtn

      protected JmixButton invokeBtn
    • operation

      protected ManagedBeanOperation operation
    • attributeComponentProvider

      protected AttributeComponentProvider attributeComponentProvider
    • attributeFieldsTypeMap

      protected Map<com.vaadin.flow.component.Component,String> attributeFieldsTypeMap
  • Constructor Details

    • MBeanOperationComposite

      public MBeanOperationComposite()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • initComponent

      protected void initComponent()
    • initContent

      protected JmixDetails initContent()
      Overrides:
      initContent in class com.vaadin.flow.component.Composite<JmixDetails>
    • initComponents

      protected void initComponents()
    • onInvokeButtonClick

      protected void onInvokeButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> buttonClickEvent)
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • setOperation

      public void setOperation(ManagedBeanOperation operation)