Package org.jboss.weld.annotated
Interface Identifier
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AnnotatedTypeIdentifier
public interface Identifier extends Serializable
Marker interface for an identifier. The identifier has to be mutable and serializable.- Author:
- Jozef Hartinger
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID_SEPARATOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
asString()
String representation of this identifier.
-
-
-
Field Detail
-
ID_SEPARATOR
static final String ID_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
asString
String asString()
String representation of this identifier. This is required as some parts of the CDI API use String identifiers, for examplePassivationCapable.getId()
. Unlike#toString()
, this method returns a non-verbose canonical string identifier.- Returns:
-
-