Interface NamingScheme

All Known Implementing Classes:
AbstractNamingScheme, BeanIdentifierIndexNamingScheme, ConversationNamingScheme, SimpleBeanIdentifierIndexNamingScheme, SimpleNamingScheme

public interface NamingScheme
  • Method Details

    • accept

      boolean accept(String id)
      Determine if this identifier has been prefixed
      Parameters:
      id - the id to check
      Returns:
      true if it has been prefixed, false otherwise
    • deprefix

      org.jboss.weld.serialization.spi.BeanIdentifier deprefix(String id)
      Remove the prefix from the id
      Parameters:
      id - the prefixed id
      Returns:
      the id without the prefix
    • prefix

      String prefix(org.jboss.weld.serialization.spi.BeanIdentifier id)
      Add the prefix to the id
      Parameters:
      id - the id to prefix
      Returns:
      the prefixed id
    • filterIds

      Collection<String> filterIds(Iterator<String> ids)
      Filter ids and retain only those correctly prefixed.
      Parameters:
      ids - the identifiers to filter
    • deprefix

      Collection<org.jboss.weld.serialization.spi.BeanIdentifier> deprefix(Collection<String> ids)
    • prefix

      Collection<String> prefix(Collection<org.jboss.weld.serialization.spi.BeanIdentifier> ids)