Class BeanIdentifierIndexNamingScheme

java.lang.Object
org.jboss.weld.contexts.beanstore.AbstractNamingScheme
org.jboss.weld.contexts.beanstore.BeanIdentifierIndexNamingScheme
All Implemented Interfaces:
NamingScheme
Direct Known Subclasses:
ConversationNamingScheme, SimpleBeanIdentifierIndexNamingScheme

public abstract class BeanIdentifierIndexNamingScheme extends AbstractNamingScheme
An abstract naming scheme which makes use of BeanIdentifierIndex if possible.
Author:
Martin Kouba
  • Constructor Details

  • Method Details

    • deprefix

      public org.jboss.weld.serialization.spi.BeanIdentifier deprefix(String id)
      Description copied from interface: NamingScheme
      Remove the prefix from the id
      Specified by:
      deprefix in interface NamingScheme
      Overrides:
      deprefix in class AbstractNamingScheme
      Parameters:
      id - the prefixed id
      Returns:
      the id without the prefix
    • prefix

      public String prefix(org.jboss.weld.serialization.spi.BeanIdentifier id)
      Description copied from interface: NamingScheme
      Add the prefix to the id
      Specified by:
      prefix in interface NamingScheme
      Overrides:
      prefix in class AbstractNamingScheme
      Parameters:
      id - the id to prefix
      Returns:
      the prefixed id