Package io.micronaut.inject
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 aBean
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 newBeanIdentifier
for the given id.
-
-
-
Method Detail
-
of
static BeanIdentifier of(java.lang.String id)
Create a newBeanIdentifier
for the given id.- Parameters:
id
- The id- Returns:
- The identifier
-
-