congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
BeanDefinition.scopeRemove
Code IndexAdd Tabnine to your IDE (free)

How to use
scopeRemove
method
in
jodd.petite.BeanDefinition

Best Java code snippets using jodd.petite.BeanDefinition.scopeRemove (Showing top 3 results out of 315)

origin: oblac/jodd

/**
 * Removes bean and returns definition of removed bean.
 * All resolvers references are deleted, too.
 * Returns bean definition of removed bean or <code>null</code>.
 */
public BeanDefinition removeBean(final String name) {
  BeanDefinition bd = beans.remove(name);
  if (bd == null) {
    return null;
  }
  bd.scopeRemove();
  return bd;
}
origin: org.jodd/jodd-petite

/**
 * Removes bean and returns definition of removed bean.
 * All resolvers references are deleted, too.
 * Returns bean definition of removed bean or <code>null</code>.
 */
public BeanDefinition removeBean(final String name) {
  BeanDefinition bd = beans.remove(name);
  if (bd == null) {
    return null;
  }
  bd.scopeRemove();
  return bd;
}
origin: org.jodd/jodd-wot

/**
 * Removes bean and returns definition of removed bean.
 * All resolvers references are deleted, too.
 * Returns bean definition of removed bean or <code>null</code>.
 */
protected BeanDefinition removeBeanDefinition(String name) {
  BeanDefinition bd = beans.remove(name);
  if (bd == null) {
    return null;
  }
  petiteResolvers.getCtorResolver().remove(bd.type);
  petiteResolvers.getPropertyResolver().remove(bd.type);
  petiteResolvers.getMethodResolver().remove(bd.type);
  petiteResolvers.getInitMethodResolver().remove(bd.type);
  bd.scopeRemove();
  return bd;
}
jodd.petiteBeanDefinitionscopeRemove

Javadoc

Delegates to jodd.petite.scope.Scope#remove(String).

Popular methods of BeanDefinition

  • name
    Returns bean name.
  • type
    Returns bean type.
  • <init>
  • addInitMethodPoints
    Adds init methods.
  • addMethodInjectionPoint
    Adds method injection point.
  • addPropertyInjectionPoint
    Adds property injection point.
  • addSetInjectionPoint
    Adds set injection point.
  • scopeLookup
    Delegates to jodd.petite.scope.Scope#lookup(String).
  • scopeRegister
    Delegates to jodd.petite.scope.Scope#register(jodd.petite.BeanDefinition,Object)if scope is defined.
  • addDestroyMethodPoints
    Adds destroy methods.
  • consumer
    Returns an optional consumer.
  • destroyMethodPoints
    Returns destroy method points.
  • consumer,
  • destroyMethodPoints,
  • initMethodPoints,
  • scope

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now