Package org.apache.webbeans.spi
Interface BDABeansXmlScanner
-
public interface BDABeansXmlScanner
Deprecated.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 boolean
addAlternative(Class<?> alternativeClass, String beansXMLFilePath)
Deprecated.Stores the beans.xml an Alternative class is defined inboolean
addDecorator(Class<?> decoratorClass, String beansXMLFilePath)
Deprecated.Stores the beans.xml a Decorator class is defined inboolean
addInterceptor(Class<?> interceptorClass, String beansXMLFilePath)
Deprecated.Stores the beans.xml an Interceptor class is defined inboolean
addStereoType(Class<? extends Annotation> stereoTypeClass, String beansXMLFilePath)
Deprecated.Stores the beans.xml a Stereotype class is defined inSet<Class<?>>
getAlternatives(String beansXMLFilePath)
Deprecated.String
getBeansXml(Class<?> class1)
Deprecated.Set<Class<?>>
getDecorators(String beansXMLFilePath)
Deprecated.Set<Class<?>>
getInterceptors(String beansXMLFilePath)
Deprecated.Set<Class<? extends Annotation>>
getStereotypes(String beansXMLFilePath)
Deprecated.void
setBeansXml(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
-
-