Class BeanIdentifierIndexNamingScheme
- java.lang.Object
-
- org.jboss.weld.contexts.beanstore.AbstractNamingScheme
-
- org.jboss.weld.contexts.beanstore.BeanIdentifierIndexNamingScheme
-
- All Implemented Interfaces:
NamingScheme
- Direct Known Subclasses:
ConversationNamingScheme
,SimpleBeanIdentifierIndexNamingScheme
public abstract class BeanIdentifierIndexNamingScheme extends AbstractNamingScheme
An abstract naming scheme which makes use ofBeanIdentifierIndex
if possible.- Author:
- Martin Kouba
-
-
Constructor Summary
Constructors Constructor Description BeanIdentifierIndexNamingScheme(String delimiter, BeanIdentifierIndex index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.weld.serialization.spi.BeanIdentifier
deprefix(String id)
Remove the prefix from the idString
prefix(org.jboss.weld.serialization.spi.BeanIdentifier id)
Add the prefix to the id-
Methods inherited from class org.jboss.weld.contexts.beanstore.AbstractNamingScheme
accept, deprefix, filterIds, getDelimiter, getPrefix, prefix
-
-
-
-
Constructor Detail
-
BeanIdentifierIndexNamingScheme
public BeanIdentifierIndexNamingScheme(String delimiter, BeanIdentifierIndex index)
-
-
Method Detail
-
deprefix
public org.jboss.weld.serialization.spi.BeanIdentifier deprefix(String id)
Description copied from interface:NamingScheme
Remove the prefix from the id- Specified by:
deprefix
in interfaceNamingScheme
- Overrides:
deprefix
in classAbstractNamingScheme
- Parameters:
id
- the prefixed id- Returns:
- the id without the prefix
-
prefix
public String prefix(org.jboss.weld.serialization.spi.BeanIdentifier id)
Description copied from interface:NamingScheme
Add the prefix to the id- Specified by:
prefix
in interfaceNamingScheme
- Overrides:
prefix
in classAbstractNamingScheme
- Parameters:
id
- the id to prefix- Returns:
- the prefixed id
-
-