Tabnine Logo
HttpManagementAddHandler
Code IndexAdd Tabnine to your IDE (free)

How to use
HttpManagementAddHandler
in
org.jboss.as.host.controller.operations

Best Java code snippets using org.jboss.as.host.controller.operations.HttpManagementAddHandler (Showing top 8 results out of 315)

origin: wildfly/wildfly-core

public static HttpManagementResourceDefinition create(final LocalHostControllerInfoImpl hostControllerInfo,
    final HostControllerEnvironment environment) {
  HttpManagementAddHandler add = new HttpManagementAddHandler(hostControllerInfo, environment);
  HttpManagementRemoveHandler remove = HttpManagementRemoveHandler.INSTANCE;
  return new HttpManagementResourceDefinition(add, remove);
}
origin: org.jboss.as/jboss-as-host-controller

@Override
protected void recoverServices(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
  HttpManagementAddHandler.populateHostControllerInfo(hostControllerInfo, context, model);
  HttpManagementAddHandler.installHttpManagementServices(context.getRunningMode(), context.getServiceTarget(), hostControllerInfo, environment, null, false);
}
origin: org.wildfly.core/wildfly-host-controller

@Override
protected List<ServiceName> installServices(OperationContext context, HttpInterfaceCommonPolicy commonPolicy, ModelNode model) throws OperationFailedException {
  populateHostControllerInfo(hostControllerInfo, context, model);
origin: wildfly/wildfly-core

@Override
protected List<ServiceName> installServices(OperationContext context, HttpInterfaceCommonPolicy commonPolicy, ModelNode model) throws OperationFailedException {
  populateHostControllerInfo(hostControllerInfo, context, model);
origin: org.jboss.as/jboss-as-host-controller

@Override
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model, ServiceVerificationHandler verificationHandler, List<ServiceController<?>> newControllers) throws OperationFailedException {
  populateHostControllerInfo(hostControllerInfo, context, model);
  // DomainModelControllerService requires this service
  final boolean onDemand = context.isBooting();
  installHttpManagementServices(context.getRunningMode(), context.getServiceTarget(), hostControllerInfo, environment, verificationHandler, onDemand);
}
origin: org.wildfly.core/wildfly-host-controller

public static HttpManagementResourceDefinition create(final LocalHostControllerInfoImpl hostControllerInfo,
    final HostControllerEnvironment environment) {
  HttpManagementAddHandler add = new HttpManagementAddHandler(hostControllerInfo, environment);
  HttpManagementRemoveHandler remove = HttpManagementRemoveHandler.INSTANCE;
  return new HttpManagementResourceDefinition(add, remove);
}
origin: org.jboss.as/jboss-as-host-controller

static void updateHttpManagementService(final OperationContext context, final ModelNode subModel, final LocalHostControllerInfoImpl hostControllerInfo,
                    final HostControllerEnvironment environment, final ServiceVerificationHandler verificationHandler) throws OperationFailedException {
  HttpManagementRemoveHandler.removeHttpManagementService(context);
  HttpManagementAddHandler.populateHostControllerInfo(hostControllerInfo, context, subModel);
  HttpManagementAddHandler.installHttpManagementServices(context.getRunningMode(), context.getServiceTarget(), hostControllerInfo, environment, verificationHandler, false);
}
origin: org.jboss.as/jboss-as-host-controller

public HttpManagementResourceDefinition(final LocalHostControllerInfoImpl hostControllerInfo,
                     final HostControllerEnvironment environment) {
  super(RESOURCE_PATH,
      HostModelUtil.getResourceDescriptionResolver("core", "management", "http-interface"),
      new HttpManagementAddHandler(hostControllerInfo, environment),
      new HttpManagementRemoveHandler(hostControllerInfo, environment),
      OperationEntry.Flag.RESTART_NONE, OperationEntry.Flag.RESTART_NONE);
  this.hostControllerInfo = hostControllerInfo;
  this.environment = environment;
}
org.jboss.as.host.controller.operationsHttpManagementAddHandler

Javadoc

A handler that activates the HTTP management API.

Most used methods

  • <init>
  • populateHostControllerInfo
  • installHttpManagementServices

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • BoxLayout (javax.swing)
  • Top plugins for WebStorm
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