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

How to use
HostModelUtil
in
org.jboss.as.host.controller

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

origin: org.jboss.as/jboss-as-host-controller

@Override
public void registerHostModel(String hostName, ManagementResourceRegistration root) {
  HostModelUtil.createHostRegistry(hostName, root, hostControllerConfigurationPersister, environment, runningModeControl,
      localFileRepository, hostControllerInfo, new DelegatingServerInventory(), remoteFileRepository, contentRepository,
      this, extensionRegistry,vaultReader, ignoredRegistry, processState, pathManager);
}
origin: org.jboss.as/jboss-as-host-controller

@Override
protected void initModel(Resource rootResource, ManagementResourceRegistration rootRegistration) {
  HostModelUtil.createRootRegistry(rootRegistration, environment, ignoredRegistry, this, processType);
  VersionModelInitializer.registerRootResource(rootResource, environment != null ? environment.getProductConfig() : null);
  this.modelNodeRegistration = rootRegistration;
}
origin: org.jboss.as/jboss-as-host-controller

public NativeManagementResourceDefinition(final LocalHostControllerInfoImpl hostControllerInfo) {
  super(RESOURCE_PATH,
      HostModelUtil.getResourceDescriptionResolver("core","management","native-interface"),
      new NativeManagementAddHandler(hostControllerInfo), null,
      OperationEntry.Flag.RESTART_NONE, null);
  this.hostControllerInfo = hostControllerInfo;
}
origin: org.wildfly.core/wildfly-core-model-test-framework

@Override
public void initCoreModel(Resource rootResource, ManagementResourceRegistration rootRegistration, Resource modelControllerResource) {
  HostModelUtil.createRootRegistry(
      rootRegistration,
      env,
  ManagementResourceRegistration hostReg = HostModelUtil.createHostRegistry(
      hostName,
      rootRegistration,
origin: wildfly/wildfly-core

@Override
public void initCoreModel(Resource rootResource, ManagementResourceRegistration rootRegistration, Resource modelControllerResource) {
  HostModelUtil.createRootRegistry(
      rootRegistration,
      env,
  ManagementResourceRegistration hostReg = HostModelUtil.createHostRegistry(
      hostName,
      rootRegistration,
origin: org.jboss.as/jboss-as-host-controller

private CoreServiceResourceDefinition() {
  super(PathElement.pathElement(CORE_SERVICE, MANAGEMENT), HostModelUtil.getResourceDescriptionResolver("core", "management"));
}
origin: org.wildfly.core/wildfly-core-model-test-framework

rootResourceDefinition.setDelegate(domainDefinition);
HostModelUtil.createRootRegistry(
    rootRegistration,
    env,
origin: org.wildfly.core/wildfly-host-controller

@Override
public void registerHostModel(String hostName, ManagementResourceRegistration root) {
  hostModelRegistration =
      HostModelUtil.createHostRegistry(hostName, root, hostControllerConfigurationPersister, environment, runningModeControl,
          localFileRepository, hostControllerInfo, new DelegatingServerInventory(), remoteFileRepository, contentRepository,
          this, hostExtensionRegistry, extensionRegistry, vaultReader, ignoredRegistry, processState, pathManager, authorizer,
          securityIdentitySupplier, getAuditLogger(), getBootErrorCollector());
}
origin: org.jboss.as/jboss-as-host-controller

             final ControlledProcessState processState,
             final PathManagerService pathManager) {
super(PathElement.pathElement(HOST, hostName), HostModelUtil.getResourceDescriptionResolver());
this.configurationPersister = configurationPersister;
this.environment = environment;
origin: wildfly/wildfly-core

rootResourceDefinition.setDelegate(domainDefinition);
HostModelUtil.createRootRegistry(
    rootRegistration,
    env,
origin: wildfly/wildfly-core

@Override
public void registerHostModel(String hostName, ManagementResourceRegistration root) {
  hostModelRegistration =
      HostModelUtil.createHostRegistry(hostName, root, hostControllerConfigurationPersister, environment, runningModeControl,
          localFileRepository, hostControllerInfo, new DelegatingServerInventory(), remoteFileRepository, contentRepository,
          this, hostExtensionRegistry, extensionRegistry, vaultReader, ignoredRegistry, processState, pathManager, authorizer,
          securityIdentitySupplier, getAuditLogger(), getBootErrorCollector());
}
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
protected void initModel(ManagementModel managementModel, Resource modelControllerResource) {
  ManagementResourceRegistration rootRegistration = managementModel.getRootResourceRegistration();
  HostModelUtil.createRootRegistry(rootRegistration, environment,
      ignoredRegistry, this, processType, authorizer, modelControllerResource,
      hostControllerInfo, managementModel.getCapabilityRegistry());
origin: wildfly/wildfly-core

public HostDefinition(
    final ManagementResourceRegistration root,
    final HostControllerEnvironment environment,
    final IgnoredDomainResourceRegistry ignoredDomainResourceRegistry,
    final HostModelUtil.HostModelRegistrar hostModelRegistrar,
    final ProcessType processType,
    final DelegatingConfigurableAuthorizer authorizer,
    final Resource modelControllerResource,
    final LocalHostControllerInfoImpl localHostControllerInfo) {
  super(new Parameters(PathElement.pathElement(HOST), HostModelUtil.getResourceDescriptionResolver()));
  this.root = root;
  this.environment = environment;
  this.ignoredDomainResourceRegistry = ignoredDomainResourceRegistry;
  this.hostModelRegistrar = hostModelRegistrar;
  this.processType = processType;
  this.authorizer = authorizer;
  this.modelControllerResource = modelControllerResource;
  this.localHostControllerInfo = localHostControllerInfo;
}
origin: wildfly/wildfly-core

@Override
protected void initModel(ManagementModel managementModel, Resource modelControllerResource) {
  ManagementResourceRegistration rootRegistration = managementModel.getRootResourceRegistration();
  HostModelUtil.createRootRegistry(rootRegistration, environment,
      ignoredRegistry, this, processType, authorizer, modelControllerResource,
      hostControllerInfo, managementModel.getCapabilityRegistry());
origin: org.wildfly.core/wildfly-host-controller

public HostDefinition(
    final ManagementResourceRegistration root,
    final HostControllerEnvironment environment,
    final IgnoredDomainResourceRegistry ignoredDomainResourceRegistry,
    final HostModelUtil.HostModelRegistrar hostModelRegistrar,
    final ProcessType processType,
    final DelegatingConfigurableAuthorizer authorizer,
    final Resource modelControllerResource,
    final LocalHostControllerInfoImpl localHostControllerInfo) {
  super(new Parameters(PathElement.pathElement(HOST), HostModelUtil.getResourceDescriptionResolver()));
  this.root = root;
  this.environment = environment;
  this.ignoredDomainResourceRegistry = ignoredDomainResourceRegistry;
  this.hostModelRegistrar = hostModelRegistrar;
  this.processType = processType;
  this.authorizer = authorizer;
  this.modelControllerResource = modelControllerResource;
  this.localHostControllerInfo = localHostControllerInfo;
}
origin: wildfly/wildfly-core

public NativeManagementResourceDefinition(final LocalHostControllerInfoImpl hostControllerInfo) {
  super(new Parameters(RESOURCE_PATH, HostModelUtil.getResourceDescriptionResolver("core","management","native-interface"))
    .setAddHandler(new NativeManagementAddHandler(hostControllerInfo))
    .setRemoveHandler(NativeManagementRemoveHandler.INSTANCE));
}
origin: org.wildfly.core/wildfly-host-controller

public NativeManagementResourceDefinition(final LocalHostControllerInfoImpl hostControllerInfo) {
  super(new Parameters(RESOURCE_PATH, HostModelUtil.getResourceDescriptionResolver("core","management","native-interface"))
    .setAddHandler(new NativeManagementAddHandler(hostControllerInfo))
    .setRemoveHandler(NativeManagementRemoveHandler.INSTANCE));
}
origin: org.jboss.as/jboss-as-host-controller

public static OperationDefinition getDefinition(final LocalHostControllerInfo hostControllerInfo) {
  return new DeferredParametersOperationDefinitionBuilder(hostControllerInfo, OPERATION_NAME, HostModelUtil.getResourceDescriptionResolver())
    .setParameters(hostControllerInfo.isMasterDomainController() ? MASTER_ATTRIBUTES : SLAVE_ATTRIBUTES)
    .withFlag(OperationEntry.Flag.HOST_CONTROLLER_ONLY)
    .build();
}
origin: org.wildfly.core/wildfly-host-controller

private HttpManagementResourceDefinition(OperationStepHandler add, OperationStepHandler remove) {
  super(new Parameters(RESOURCE_PATH, HostModelUtil.getResourceDescriptionResolver("core", "management", "http-interface"))
    .setAddHandler(add)
    .setRemoveHandler(remove)
    .setAddRestartLevel(OperationEntry.Flag.RESTART_NONE)
    .setRemoveRestartLevel(OperationEntry.Flag.RESTART_RESOURCE_SERVICES)
    .setCapabilities(UndertowHttpManagementService.EXTENSIBLE_HTTP_MANAGEMENT_CAPABILITY)
  );
}
org.jboss.as.host.controllerHostModelUtil

Javadoc

Utility for creating the root element and populating the org.jboss.as.controller.registry.ManagementResourceRegistrationfor an individual host's portion of the model.

Most used methods

  • createHostRegistry
  • createRootRegistry
  • getResourceDescriptionResolver

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Best IntelliJ 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