congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
org.jboss.as.host.controller.operations
Code IndexAdd Tabnine to your IDE (free)

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

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

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

  @Override
  protected void performRemove(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
    super.performRemove(context, operation, model);
    updateOptionsAttribute(context, operation, STATIC_DISCOVERY);
  }
}
origin: wildfly/wildfly-core

  @Override
  protected void performRemove(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
    super.performRemove(context, operation, model);
    updateOptionsAttribute(context, operation, ModelDescriptionConstants.CUSTOM_DISCOVERY);
  }
}
origin: org.wildfly.core/wildfly-host-controller

  static void clearHostControllerInfo(LocalHostControllerInfoImpl hostControllerInfo) {
    hostControllerInfo.setHttpManagementInterface(null);
    hostControllerInfo.setHttpManagementPort(0);
    hostControllerInfo.setHttpManagementSecureInterface(null);
    hostControllerInfo.setHttpManagementSecurePort(0);
  }
}
origin: org.jboss.as/jboss-as-host-controller

static void clearHostControllerInfo(LocalHostControllerInfoImpl hostControllerInfo) {
  hostControllerInfo.setHttpManagementInterface(null);
  hostControllerInfo.setHttpManagementPort(0);
  hostControllerInfo.setHttpManagementSecurePort(0);
  hostControllerInfo.setHttpManagementSecurityRealm(null);
}
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;
}
origin: org.wildfly.core/wildfly-host-controller

  @Override
  public String getHostName() {
    return hostControllerInfo.getLocalHostName();
  }
};
origin: org.wildfly.core/wildfly-host-controller

  public boolean isMasterHc() {
    return hostControllerInfo.isMasterDomainController();
  }
};
origin: org.wildfly.core/wildfly-host-controller

@Override
protected void populateModel(final OperationContext context, final ModelNode operation,
    final Resource resource) throws  OperationFailedException {
  updateOptionsAttribute(context, operation, STATIC_DISCOVERY);
}
origin: org.wildfly.core/wildfly-host-controller

@Override
protected void populateModel(final OperationContext context, final ModelNode operation,
    final Resource resource) throws  OperationFailedException {
  updateOptionsAttribute(context, operation, CUSTOM_DISCOVERY);
}
origin: org.wildfly.core/wildfly-host-controller

  void initializeDomain(final String hostName) {
    writeAttributeHandler.initializeLocalDomain(hostName);
  }
}
origin: org.jboss.as/jboss-as-host-controller

public static LocalDomainControllerAddHandler getInstance(final ManagementResourceRegistration rootRegistration,
                               final LocalHostControllerInfoImpl hostControllerInfo,
                               final HostControllerConfigurationPersister overallConfigPersister,
                               final HostFileRepository fileRepository,
                               final ContentRepository contentRepository,
                               final DomainController domainController,
                               final ExtensionRegistry extensionRegistry,
                               final PathManagerService pathManager) {
  return new LocalDomainControllerAddHandler(rootRegistration, hostControllerInfo, overallConfigPersister,
      fileRepository, contentRepository, domainController, extensionRegistry, pathManager);
}
origin: org.jboss.as/jboss-as-host-controller

@Override
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
  removeHttpManagementService(context);
}
origin: wildfly/wildfly-core

  static void clearHostControllerInfo(LocalHostControllerInfoImpl hostControllerInfo) {
    hostControllerInfo.setHttpManagementInterface(null);
    hostControllerInfo.setHttpManagementPort(0);
    hostControllerInfo.setHttpManagementSecureInterface(null);
    hostControllerInfo.setHttpManagementSecurePort(0);
  }
}
origin: wildfly/wildfly-core

  @Override
  protected void performRemove(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
    super.performRemove(context, operation, model);
    updateOptionsAttribute(context, operation, STATIC_DISCOVERY);
  }
}
origin: org.wildfly.core/wildfly-host-controller

  @Override
  protected void performRemove(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
    super.performRemove(context, operation, model);
    updateOptionsAttribute(context, operation, ModelDescriptionConstants.CUSTOM_DISCOVERY);
  }
}
origin: wildfly/wildfly-core

  @Override
  public String getHostName() {
    return hostControllerInfo.getLocalHostName();
  }
};
origin: wildfly/wildfly-core

@Override
protected void populateModel(final OperationContext context, final ModelNode operation,
    final Resource resource) throws  OperationFailedException {
  updateOptionsAttribute(context, operation, STATIC_DISCOVERY);
}
origin: wildfly/wildfly-core

@Override
protected void populateModel(final OperationContext context, final ModelNode operation,
    final Resource resource) throws  OperationFailedException {
  updateOptionsAttribute(context, operation, CUSTOM_DISCOVERY);
}
origin: wildfly/wildfly-core

  void initializeDomain(final String hostName) {
    writeAttributeHandler.initializeLocalDomain(hostName);
  }
}
org.jboss.as.host.controller.operations

Most used classes

  • LocalDomainControllerAddHandler
  • LocalHostControllerInfoImpl
    Default implementation of LocalHostControllerInfo.
  • DomainControllerWriteAttributeHandler
  • HostShutdownHandler
    Stops a host.
  • HostSpecifiedInterfaceAddHandler
    Handler for adding a fully specified interface to a host.
  • HostXmlMarshallingHandler,
  • HttpManagementAddHandler,
  • HttpManagementRemoveHandler,
  • NativeManagementAddHandler,
  • ServerAddHandler,
  • ServerRestartHandler,
  • ServerStartHandler,
  • ServerStatusHandler,
  • ServerStopHandler,
  • StartServersHandler,
  • AbstractDiscoveryOptionRemoveHandler,
  • DiscoveryOptionAddHandler,
  • DiscoveryOptionRemoveHandler,
  • DiscoveryOptionsReadAttributeHandler
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