Interface BeanIdentifier

All Superinterfaces:
Serializable

public interface BeanIdentifier extends Serializable
Represents a bean identifier - implementations may differ for producers, class based and so on. However, they all support asString() to converts these identifiers into String
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Predefined bean ID separator symbol
  • Method Summary

    Modifier and Type
    Method
    Description
    String representation of this identifier.
  • Field Details

  • Method Details

    • asString

      String asString()
      String representation of this identifier. This is required as some parts of the CDI API use String identifiers, for example PassivationCapable.getId(). Unlike Object.toString(), this method returns a non-verbose canonical string identifier.
      Returns:
      string representation of this identifier