
org.jboss.weld.context.beanstore.NamingScheme Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weld-se-shaded Show documentation
Show all versions of weld-se-shaded Show documentation
This jar bundles all the bits of Weld and CDI required for Java SE.
package org.jboss.weld.context.beanstore;
import java.util.Collection;
import java.util.Iterator;
import org.jboss.weld.serialization.spi.BeanIdentifier;
public interface NamingScheme {
/**
* Determine if this identifier has been prefixed
*
* @param id the id to check
* @return true if it has been prefixed, false otherwise
*/
boolean accept(String id);
/**
* Remove the prefix from the id
*
* @param id the prefixed id
* @return the id without the prefix
*/
BeanIdentifier deprefix(String id);
/**
* Add the prefix to the id
*
* @param id the id to prefix
* @return the prefixed id
*/
String prefix(BeanIdentifier id);
/**
* Filter ids and retain only those correctly prefixed.
*
* @param ids the identifiers to filter
*/
Collection filterIds(Iterator ids);
Collection deprefix(Collection ids);
Collection prefix(Collection ids);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy