Tabnine Logo
JobContext.removeAttribute
Code IndexAdd Tabnine to your IDE (free)

How to use
removeAttribute
method
in
org.springframework.batch.core.scope.context.JobContext

Best Java code snippets using org.springframework.batch.core.scope.context.JobContext.removeAttribute (Showing top 4 results out of 315)

origin: spring-projects/spring-batch

/**
 * @see Scope#remove(String)
 */
@Override
public Object remove(String name) {
  JobContext context = getContext();
  if (logger.isDebugEnabled()) {
    logger.debug(String.format("Removing from scope=%s, name=%s", this.getName(), name));
  }
  return context.removeAttribute(name);
}
origin: org.springframework.batch/spring-batch-core

/**
 * @see Scope#remove(String)
 */
@Override
public Object remove(String name) {
  JobContext context = getContext();
  if (logger.isDebugEnabled()) {
    logger.debug(String.format("Removing from scope=%s, name=%s", this.getName(), name));
  }
  return context.removeAttribute(name);
}
origin: apache/servicemix-bundles

/**
 * @see Scope#remove(String)
 */
@Override
public Object remove(String name) {
  JobContext context = getContext();
  if (logger.isDebugEnabled()) {
    logger.debug(String.format("Removing from scope=%s, name=%s", this.getName(), name));
  }
  return context.removeAttribute(name);
}
origin: org.springframework.batch.core/org.motechproject.org.springframework.batch.core

/**
 * @see Scope#remove(String)
 */
@Override
public Object remove(String name) {
  JobContext context = getContext();
  logger.debug(String.format("Removing from scope=%s, name=%s", this.getName(), name));
  return context.removeAttribute(name);
}
org.springframework.batch.core.scope.contextJobContextremoveAttribute

Javadoc

Override base class behaviour to ensure destruction callbacks are unregistered as well as the default behaviour.

Popular methods of JobContext

  • getJobExecutionContext
  • getJobParameters
  • <init>
  • close
    Clean up the context at the end of a step execution. Must be called once at the end of a step execut
  • getAttribute
  • getId
  • registerDestructionCallback
    Allow clients to register callbacks for clean up on close.
  • setAttribute
  • unregisterDestructionCallbacks
  • attributeNames
  • equals
    Extend the base class method to include the job execution itself as a key (i.e. two contexts are onl
  • getJobExecution
    The current JobExecution that is active in this context.
  • equals,
  • getJobExecution,
  • getJobName,
  • getSystemProperties,
  • hasAttribute

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • getSharedPreferences (Context)
  • requestLocationUpdates (LocationManager)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • 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