Interface BeanIdentifier

  • All Superinterfaces:
    java.lang.CharSequence, io.micronaut.core.naming.Named, java.io.Serializable

    public interface BeanIdentifier
    extends java.lang.CharSequence, java.io.Serializable, io.micronaut.core.naming.Named
    An identifier for a Bean that can be used as a key to uniquely identify an instance.
    Since:
    1.0
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static BeanIdentifier of​(java.lang.String id)
      Create a new BeanIdentifier for the given id.
      • Methods inherited from interface java.lang.CharSequence

        charAt, chars, codePoints, length, subSequence, toString
      • Methods inherited from interface io.micronaut.core.naming.Named

        getName
    • Method Detail

      • of

        static BeanIdentifier of​(java.lang.String id)
        Create a new BeanIdentifier for the given id.
        Parameters:
        id - The id
        Returns:
        The identifier