Skip to content

Commit

Permalink
Javadoc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Sep 21, 2010
1 parent 02c3e1e commit abbef18
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
Expand Up @@ -23,13 +23,20 @@
import java.lang.annotation.Target;

/**
* If all the specified classes are not present the bean will not be installed.
* <p>
* Veto the processing of the type if the required classes are not available.
* Any beans defined by this class will not be installed.
* </p>
*
* First the Thread Context Class Loader is used to attempt to load the class,
* and if that fails then the bean class loader is used
* <p>
* Weld Extensions will try both the Thread Context ClassLoader, as well as the
* classloader of the declaring class.
* </p>
*
* @author Stuart Douglas
*
* @see Veto
*
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
Expand Down
3 changes: 2 additions & 1 deletion impl/src/main/java/org/jboss/weld/extensions/core/Veto.java
Expand Up @@ -23,7 +23,8 @@
import java.lang.annotation.Target;

/**
* Instructs the CDI container not to deploy the class as a bean
* Veto the processing of the type. Any beans defined by this class will not be
* installed.
*
* @author Stuart Douglas
*
Expand Down

0 comments on commit abbef18

Please sign in to comment.