Annotation Type Specializes

public @interface Specializes

Indicates that a bean directly specializes another bean. May be applied to a bean class or producer method.

If a bean directly specializes a second bean, it inherits:

If the second bean has a name, the bean may not declare a name using @Named. Furthermore, the bean must have all the bean types of the second bean.

If a bean is specialized by any enabled bean, the first bean is disabled.

Gavin King, Pete Muir

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.