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

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

Best Java code snippets using org.jboss.as.jaxr.extension.JAXRPropertyWrite (Showing top 3 results out of 315)

origin: org.jboss.as/jboss-as-jaxr

  @Override
  public void registerAttributes(ManagementResourceRegistration resourceRegistration) {
    super.registerAttributes(resourceRegistration);
    resourceRegistration.registerReadWriteAttribute(VALUE, null, new JAXRPropertyWrite(config, VALUE));
  }
}
origin: org.jboss.as/jboss-as-jaxr

@Override
protected boolean applyUpdateToRuntime(OperationContext context, ModelNode operation, String attributeName, ModelNode resolvedValue, ModelNode currentValue, HandbackHolder handbackHolder) throws OperationFailedException {
  final String propName = PathAddress.pathAddress(operation.require(ModelDescriptionConstants.OP_ADDR)).getLastElement().getValue();
  String propValue = resolvedValue.asString();
  applyUpdateToConfig(config, propName, propValue);
  return false;
}
origin: org.jboss.as/jboss-as-jaxr

@Override
protected void revertUpdateToRuntime(OperationContext context, ModelNode operation, String attributeName, ModelNode valueToRestore, ModelNode valueToRevert, Void handback) throws OperationFailedException {
  final String propName = PathAddress.pathAddress(operation.require(ModelDescriptionConstants.OP_ADDR)).getLastElement().getValue();
  String propValue = valueToRestore.asString();
  applyUpdateToConfig(config, propName, propValue);
}
org.jboss.as.jaxr.extensionJAXRPropertyWrite

Javadoc

Handles write-attribute operation for a JAXR property resource.

Most used methods

  • <init>
  • applyUpdateToConfig

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Join (org.hibernate.mapping)
  • Top Vim 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