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

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

Best Java code snippets using org.jboss.as.jaxr.extension.JAXRSubsystemRootResource (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

Javadoc

The JAXR subsystem root resource

Most used methods

  • <init>
  • registerTransformerers

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Notification (javax.management)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top 12 Jupyter Notebook extensions
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