congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ApplicationTypeAccessConstraintDefinition.getType
Code IndexAdd Tabnine to your IDE (free)

How to use
getType
method
in
org.jboss.as.controller.access.management.ApplicationTypeAccessConstraintDefinition

Best Java code snippets using org.jboss.as.controller.access.management.ApplicationTypeAccessConstraintDefinition.getType (Showing top 3 results out of 315)

origin: org.wildfly.core/wildfly-controller

private AccessConstraintUtilizationImpl getAccessConstraintUtilizationImpl(AccessConstraintKey key,
                                      PathAddress address) {
  Map<PathAddress, AccessConstraintUtilization> map = getAccessConstraintUtilizations(key, true);
  AccessConstraintUtilizationImpl acu = (AccessConstraintUtilizationImpl) map.get(address);
  if (acu == null) {
    // WFLY-1819. Validate that ApplicationTypeConfig.DEPLOYMENT isn't misused
    // A bit hacky, but this is as good a control point for this as any.
    if (key.isCore() && ApplicationTypeAccessConstraintDefinition.DEPLOYMENT.getName().equals(key.getName())
        && ApplicationTypeAccessConstraintDefinition.DEPLOYMENT.getType().equals(key.getType())) {
      assert !address.toString().contains(ModelDescriptionConstants.SUBSYSTEM)
          : "Invalid use of " + key + " in a subsystem; reserved for core use";
    }
    acu = new AccessConstraintUtilizationImpl(key, address);
    map.put(address, acu);
  }
  return acu;
}
origin: org.wildfly/wildfly-controller

private AccessConstraintUtilizationImpl getAccessConstraintUtilizationImpl(AccessConstraintKey key,
                                      PathAddress address) {
  Map<PathAddress, AccessConstraintUtilization> map = getAccessConstraintUtilizations(key, true);
  AccessConstraintUtilizationImpl acu = (AccessConstraintUtilizationImpl) map.get(address);
  if (acu == null) {
    // WFLY-1819. Validate that ApplicationTypeConfig.DEPLOYMENT isn't misused
    // A bit hacky, but this is as good a control point for this as any.
    if (key.isCore() && ApplicationTypeAccessConstraintDefinition.DEPLOYMENT.getName().equals(key.getName())
        && ApplicationTypeAccessConstraintDefinition.DEPLOYMENT.getType().equals(key.getType())) {
      assert !address.toString().contains(ModelDescriptionConstants.SUBSYSTEM)
          : "Invalid use of " + key + " in a subsystem; reserved for core use";
    }
    acu = new AccessConstraintUtilizationImpl(key, address);
    map.put(address, acu);
  }
  return acu;
}
origin: wildfly/wildfly-core

private AccessConstraintUtilizationImpl getAccessConstraintUtilizationImpl(AccessConstraintKey key,
                                      PathAddress address) {
  Map<PathAddress, AccessConstraintUtilization> map = getAccessConstraintUtilizations(key, true);
  AccessConstraintUtilizationImpl acu = (AccessConstraintUtilizationImpl) map.get(address);
  if (acu == null) {
    // WFLY-1819. Validate that ApplicationTypeConfig.DEPLOYMENT isn't misused
    // A bit hacky, but this is as good a control point for this as any.
    if (key.isCore() && ApplicationTypeAccessConstraintDefinition.DEPLOYMENT.getName().equals(key.getName())
        && ApplicationTypeAccessConstraintDefinition.DEPLOYMENT.getType().equals(key.getType())) {
      assert !address.toString().contains(ModelDescriptionConstants.SUBSYSTEM)
          : "Invalid use of " + key + " in a subsystem; reserved for core use";
    }
    acu = new AccessConstraintUtilizationImpl(key, address);
    map.put(address, acu);
  }
  return acu;
}
org.jboss.as.controller.access.managementApplicationTypeAccessConstraintDefinitiongetType

Popular methods of ApplicationTypeAccessConstraintDefinition

  • <init>
  • wrapAsList
  • getApplicationTypeConfig
  • getName

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JFrame (javax.swing)
  • 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