public final class BeanArchives extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_ARCHIVE_ID_BASE_DELIMITER |
Modifier and Type | Method and Description |
---|---|
static String |
extractBeanArchiveId(String beanArchiveRef,
String base,
String separator)
Takes the
#getBeanArchiveRef() value and extracts the bean archive id. |
static <B extends org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> |
findBeanClassesDeployedInMultipleBeanArchives(Set<B> beanArchives) |
public static final String BEAN_ARCHIVE_ID_BASE_DELIMITER
public static <B extends org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> com.google.common.collect.Multimap<String,org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> findBeanClassesDeployedInMultipleBeanArchives(Set<B> beanArchives)
beanArchives
- Multimap
that maps problematic bean class to the set of bean archives where it is deployedpublic static String extractBeanArchiveId(String beanArchiveRef, String base, String separator)
#getBeanArchiveRef()
value and extracts the bean archive id.
base
value is appendedBEAN_ARCHIVE_ID_BASE_DELIMITER
is appendedbeanArchiveRef
contains the separator, the substring (beginning at the separator index) is appendedbeanArchiveRef
value is appendedbeanArchiveRef
- base
- separator
- Copyright © 2020. All rights reserved.