Tabnine Logo
JAXRSubsystemRootResource.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jboss.as.jaxr.extension.JAXRSubsystemRootResource
constructor

Best Java code snippets using org.jboss.as.jaxr.extension.JAXRSubsystemRootResource.<init> (Showing top 2 results out of 315)

origin: wildfly/wildfly

@Override
protected Set<ManagementResourceRegistration> initializeLegacyModel(ExtensionContext context) {
  SubsystemRegistration subsystemRegistration = context.registerSubsystem(SUBSYSTEM_NAME, CURRENT_MODEL_VERSION);
  subsystemRegistration.registerXMLElementWriter(JAXRSubsystemWriter.INSTANCE);
  ManagementResourceRegistration subsystemRoot = subsystemRegistration.registerSubsystemModel(new JAXRSubsystemRootResource());
  return Collections.singleton(subsystemRoot);
}
origin: org.jboss.as/jboss-as-jaxr

  @Override
  public void initialize(ExtensionContext context) {
    SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, MANAGEMENT_API_MAJOR_VERSION,
        MANAGEMENT_API_MINOR_VERSION, MANAGEMENT_API_MICRO_VERSION);
    ManagementResourceRegistration registration = subsystem.registerSubsystemModel(new JAXRSubsystemRootResource(config));
    registration.registerOperationHandler(GenericSubsystemDescribeHandler.DEFINITION, GenericSubsystemDescribeHandler.INSTANCE);

    // JAXR Properties
    registration.registerSubModel(new JAXRPropertyDefinition(config));

    subsystem.registerXMLElementWriter(JAXRSubsystemWriter.INSTANCE);

    JAXRSubsystemRootResource.registerTransformerers(subsystem);
  }
}
org.jboss.as.jaxr.extensionJAXRSubsystemRootResource<init>

Popular methods of JAXRSubsystemRootResource

  • registerTransformerers

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • String (java.lang)
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Join (org.hibernate.mapping)
  • Top plugins for Android Studio
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