Package org.apache.webbeans.spi
Interface BDABeansXmlScanner
-
public interface BDABeansXmlScannerDeprecated.should be replaced with a scanning-mode compatible approach which covers it all.due to a file-url issue it isn't compatible with wls (see OWB-519)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanaddAlternative(Class<?> alternativeClass, String beansXMLFilePath)Deprecated.Stores the beans.xml an Alternative class is defined inbooleanaddDecorator(Class<?> decoratorClass, String beansXMLFilePath)Deprecated.Stores the beans.xml a Decorator class is defined inbooleanaddInterceptor(Class<?> interceptorClass, String beansXMLFilePath)Deprecated.Stores the beans.xml an Interceptor class is defined inbooleanaddStereoType(Class<? extends Annotation> stereoTypeClass, String beansXMLFilePath)Deprecated.Stores the beans.xml a Stereotype class is defined inSet<Class<?>>getAlternatives(String beansXMLFilePath)Deprecated.StringgetBeansXml(Class<?> class1)Deprecated.Set<Class<?>>getDecorators(String beansXMLFilePath)Deprecated.Set<Class<?>>getInterceptors(String beansXMLFilePath)Deprecated.Set<Class<? extends Annotation>>getStereotypes(String beansXMLFilePath)Deprecated.voidsetBeansXml(Class<?> class1, String beansXmlFilePath)Deprecated.
-
-
-
Method Detail
-
addInterceptor
boolean addInterceptor(Class<?> interceptorClass, String beansXMLFilePath)
Deprecated.Stores the beans.xml an Interceptor class is defined in- Returns:
- T - Interceptor class successfully stored; F - Interceptor class already exists and was not stored.
-
getInterceptors
Set<Class<?>> getInterceptors(String beansXMLFilePath)
Deprecated.- Parameters:
beansXMLFilePath-- Returns:
- a non-null set of Interceptors defined by the specified beansXMLFilePath
-
getDecorators
Set<Class<?>> getDecorators(String beansXMLFilePath)
Deprecated.- Parameters:
beansXMLFilePath-- Returns:
- a non-null set of Decorators defined by the specified beansXMLFilePath
-
addDecorator
boolean addDecorator(Class<?> decoratorClass, String beansXMLFilePath)
Deprecated.Stores the beans.xml a Decorator class is defined in- Returns:
- T - Decorator class successfully stored; F - Decorator class already exists and was not stored.
-
addAlternative
boolean addAlternative(Class<?> alternativeClass, String beansXMLFilePath)
Deprecated.Stores the beans.xml an Alternative class is defined in- Returns:
- T - Alternative class successfully stored; F - Alternative class already exists and was not stored.
-
addStereoType
boolean addStereoType(Class<? extends Annotation> stereoTypeClass, String beansXMLFilePath)
Deprecated.Stores the beans.xml a Stereotype class is defined in- Returns:
- T - Stereotype class successfully stored; F - Stereotype class already exists and was not stored.
-
getAlternatives
Set<Class<?>> getAlternatives(String beansXMLFilePath)
Deprecated.- Parameters:
beansXMLFilePath-- Returns:
- a non-null set of Alternatives defined by the specified beansXMLFilePath
-
getStereotypes
Set<Class<? extends Annotation>> getStereotypes(String beansXMLFilePath)
Deprecated.- Parameters:
beansXMLFilePath-- Returns:
- a non-null set of Stereotypes defined by the specified beansXMLFilePath
-
getBeansXml
String getBeansXml(Class<?> class1)
Deprecated.- Parameters:
class1- deployed class- Returns:
- A String representing the file path to the beans.xml of the specified class's BDA
-
-