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 ofBeanIdentifierIndexif 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.BeanIdentifierdeprefix(String id)Remove the prefix from the idStringprefix(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:NamingSchemeRemove the prefix from the id- Specified by:
deprefixin interfaceNamingScheme- Overrides:
deprefixin 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:NamingSchemeAdd the prefix to the id- Specified by:
prefixin interfaceNamingScheme- Overrides:
prefixin classAbstractNamingScheme- Parameters:
id- the id to prefix- Returns:
- the prefixed id
-
-