Class SimpleNamingScheme
- java.lang.Object
-
- org.jboss.weld.contexts.beanstore.AbstractNamingScheme
-
- org.jboss.weld.contexts.beanstore.SimpleNamingScheme
-
- All Implemented Interfaces:
NamingScheme
public class SimpleNamingScheme extends AbstractNamingScheme
A utility which can prefix/de-prefix a String based identifier- Author:
- Nicklas Karlsson
-
-
Constructor Summary
Constructors Constructor Description SimpleNamingScheme(String prefix)
Create a new Prefixer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getPrefix()
-
Methods inherited from class org.jboss.weld.contexts.beanstore.AbstractNamingScheme
accept, deprefix, deprefix, filterIds, getDelimiter, prefix, prefix
-
-
-
-
Constructor Detail
-
SimpleNamingScheme
public SimpleNamingScheme(String prefix)
Create a new Prefixer.- Parameters:
prefix
- The prefixdelimiter
- The delimiter to use between the prefix and the identifier.
-
-
Method Detail
-
getPrefix
protected String getPrefix()
- Specified by:
getPrefix
in classAbstractNamingScheme
-
-