Tabnine Logo
ServerToHostProtocolHandler$ServerReconnectRequestHandler.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jboss.as.host.controller.mgmt.ServerToHostProtocolHandler$ServerReconnectRequestHandler
constructor

Best Java code snippets using org.jboss.as.host.controller.mgmt.ServerToHostProtocolHandler$ServerReconnectRequestHandler.<init> (Showing top 3 results out of 315)

origin: org.wildfly.core/wildfly-host-controller

@Override
public ManagementRequestHandler<?, ?> resolveHandler(final RequestHandlerChain handlers, final ManagementRequestHeader header) {
  final byte operationId = header.getOperationId();
  switch (operationId) {
    case DomainServerProtocol.REGISTER_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerRegistrationRequestHandler();
    case DomainServerProtocol.SERVER_RECONNECT_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerReconnectRequestHandler();
    case DomainServerProtocol.GET_FILE_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new GetFileOperation();
    case DomainServerProtocol.SERVER_STARTED_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerStartedHandler(serverProcessName);
    case DomainServerProtocol.SERVER_INSTABILITY_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerUnstableHandler(serverProcessName);
  }
  return handlers.resolveNext();
}
origin: wildfly/wildfly-core

@Override
public ManagementRequestHandler<?, ?> resolveHandler(final RequestHandlerChain handlers, final ManagementRequestHeader header) {
  final byte operationId = header.getOperationId();
  switch (operationId) {
    case DomainServerProtocol.REGISTER_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerRegistrationRequestHandler();
    case DomainServerProtocol.SERVER_RECONNECT_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerReconnectRequestHandler();
    case DomainServerProtocol.GET_FILE_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new GetFileOperation();
    case DomainServerProtocol.SERVER_STARTED_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerStartedHandler(serverProcessName);
    case DomainServerProtocol.SERVER_INSTABILITY_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerUnstableHandler(serverProcessName);
  }
  return handlers.resolveNext();
}
origin: org.jboss.as/jboss-as-host-controller

@Override
public ManagementRequestHandler<?, ?> resolveHandler(final RequestHandlerChain handlers, final ManagementRequestHeader header) {
  final byte operationId = header.getOperationId();
  switch (operationId) {
    case DomainServerProtocol.REGISTER_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerRegistrationRequestHandler();
    case DomainServerProtocol.SERVER_RECONNECT_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerReconnectRequestHandler();
    case DomainServerProtocol.GET_FILE_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new GetFileOperation();
    case DomainServerProtocol.SERVER_STARTED_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerStartedHandler(serverProcessName);
  }
  return handlers.resolveNext();
}
org.jboss.as.host.controller.mgmtServerToHostProtocolHandler$ServerReconnectRequestHandler<init>

Popular methods of ServerToHostProtocolHandler$ServerReconnectRequestHandler

    Popular in Java

    • Finding current android device location
    • setScale (BigDecimal)
    • compareTo (BigDecimal)
    • requestLocationUpdates (LocationManager)
    • PrintWriter (java.io)
      Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
    • SimpleDateFormat (java.text)
      Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
    • TimeZone (java.util)
      TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
    • Notification (javax.management)
    • IOUtils (org.apache.commons.io)
      General IO stream manipulation utilities. This class provides static utility methods for input/outpu
    • Loader (org.hibernate.loader)
      Abstract superclass of object loading (and querying) strategies. This class implements useful common
    • Top PhpStorm plugins
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now