- java.lang.Object
-
- org.tentackle.fx.AbstractFxController
-
- org.tentackle.fx.rdc.admin.SessionsView
-
- All Implemented Interfaces:
FxController,org.tentackle.validate.ScopeConfigurator
@FxControllerService(binding=NO) public class SessionsView extends AbstractFxController
View showing all sessions logged in to the middle tier.
Allows killing sessions as well.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description SessionsView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure()protected TableConfiguration<AdminExtension.SessionData>createTableConfiguration()Creates the table configuration.FxHBoxgetButtonBox()Gets the button box.
Used to add additional buttons, for example to close the stage.protected booleanisKillSessionAllowed()Returns whether killing a session is allowed.protected voidshowSecurityDialog()Shows the security dialog.-
Methods inherited from class org.tentackle.fx.AbstractFxController
createBinder, getBinder, getContainer, getDefaultScopes, getFXMLFields, getFXMLMethods, getStage, getView, setView, validateInjections
-
-
-
-
Method Detail
-
configure
public void configure()
- Specified by:
configurein interfaceFxController- Overrides:
configurein classAbstractFxController
-
getButtonBox
public FxHBox getButtonBox()
Gets the button box.
Used to add additional buttons, for example to close the stage.- Returns:
- the button box
-
isKillSessionAllowed
protected boolean isKillSessionAllowed()
Returns whether killing a session is allowed.- Returns:
- true if allowed
-
showSecurityDialog
protected void showSecurityDialog()
Shows the security dialog.
-
createTableConfiguration
protected TableConfiguration<AdminExtension.SessionData> createTableConfiguration()
Creates the table configuration.- Returns:
- the table config
-
-