Skip to content

Instantly share code, notes, and snippets.

@pmuir
Created August 16, 2010 12:28
Show Gist options
  • Save pmuir/526866 to your computer and use it in GitHub Desktop.
Save pmuir/526866 to your computer and use it in GitHub Desktop.
/**
* Get any deployment descriptors in the bean deployment archive.
*
* The container will normally return a single deployment descriptor per bean
* deployment archive (the physical META-INF/beans.xml or WEB-INF/beans.xml),
* however it is permitted to return other deployment descriptors defined
* using other methods.
*
* @return the URLs pointing to the deployment descriptor,
* or an empty set if none are present
*/
public Collection<URL> getBeansXml();
public interface BeansXml
{
public List<Class<? extends Annotation>> getEnabledAlternativeStereotypes();
public List<Class<?>> getEnabledAlternativeClasses();
public List<Class<?>> getEnabledDecorators();
public List<Class<?>> getEnabledInterceptors();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment