Interface NamingScheme
- All Known Implementing Classes:
AbstractNamingScheme,BeanIdentifierIndexNamingScheme,ConversationNamingScheme,SimpleBeanIdentifierIndexNamingScheme,SimpleNamingScheme
public interface NamingScheme
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermine if this identifier has been prefixedorg.jboss.weld.serialization.spi.BeanIdentifierRemove the prefix from the idCollection<org.jboss.weld.serialization.spi.BeanIdentifier>deprefix(Collection<String> ids) Filter ids and retain only those correctly prefixed.prefix(Collection<org.jboss.weld.serialization.spi.BeanIdentifier> ids) prefix(org.jboss.weld.serialization.spi.BeanIdentifier id) Add the prefix to the id
-
Method Details
-
accept
Determine if this identifier has been prefixed- Parameters:
id- the id to check- Returns:
- true if it has been prefixed, false otherwise
-
deprefix
Remove the prefix from the id- Parameters:
id- the prefixed id- Returns:
- the id without the prefix
-
prefix
Add the prefix to the id- Parameters:
id- the id to prefix- Returns:
- the prefixed id
-
filterIds
Filter ids and retain only those correctly prefixed.- Parameters:
ids- the identifiers to filter
-
deprefix
-
prefix
-