|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.descriptor.annotation.GlobalAnnotations
weblogic.descriptor.annotation.BeanAnnotations
public class BeanAnnotations
Defines annotations that can be specified in a bean interface comment block to contribute to the definition of a descriptor bean.
Field Summary | |
---|---|
static AnnotationDefinition |
ABSTRACT
Indicates that the annotated interface does not define a concrete bean and will always be extended by some other interface. |
static AnnotationDefinition |
ALLOW_DIFF_WITH_SIBLING_CLASS
|
static AnnotationDefinition |
BASE_INTERFACE
Indicates that the annotated interface represents a base interface. |
static AnnotationDefinition |
BEAN
Indicates that the annotated interface defines a descriptor bean. |
static AnnotationDefinition |
CUSTOMIZER
Specifies a class that customizes the implementation of the annotated interface. |
static AnnotationDefinition |
CUSTOMIZER_FACTORY
Specifies a class that implements CustomizerFactory
interface and use this class to create cusomizter classes' instance. |
static AnnotationDefinition |
DELEGATE_BEAN
Specifies delegate MBean for bean type. |
static AnnotationDefinition |
INHERIT_SUPER_CUSTOMIZER
Specifies whether bean implementation implements the methods implemented by the customizer of super bean. |
static AnnotationDefinition |
REFERENCEABLE
Indicates that instances of the annotated bean can be referred to by other beans. |
static AnnotationDefinition |
ROOT
Indicates that the annotated interface is the root of the descriptor and specifies the name of the root element. |
static AnnotationDefinition |
SCHEMA_LOCATION
Explicitly specifies schemaLocation for bean type to take care of scenarios where beans' xml types share the same namespace but have different schema locations. |
static AnnotationDefinition |
TARGET_NAMESPACE
Specifies target Namespace for bean type individually, rather than specifying it for a group using Beangen parameter. |
static AnnotationDefinition |
VALIDATOR
Specifies a custom method to be called as part of on-demand validation for the annotated bean. |
static AnnotationDefinition |
XML_TYPE_NAME
Explictly specifies the xml type name to be used in the schema definition for the annotated bean. |
Fields inherited from class weblogic.descriptor.annotation.GlobalAnnotations |
---|
CONFIGURABLE, DYNAMIC, EXCLUDE, OBSOLETE, ROLE_ALLOWED, ROLE_PERMIT_ALL |
Constructor Summary | |
---|---|
BeanAnnotations()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AnnotationDefinition BEAN
Usage: @bean
Usage: @wld:bean
public static final AnnotationDefinition ABSTRACT
Usage: @abstract
Usage: @wld:bean abstract = booleanValue
public static final AnnotationDefinition CUSTOMIZER_FACTORY
CustomizerFactory
interface and use this class to create cusomizter classes' instance. This class
should provide a public and non-argument constructor.
Usage: @customizerFactory customizerClassName
Usage: @wld:bean customizerFactory = customizerClassName
public static final AnnotationDefinition CUSTOMIZER
ExampleCustomizedBean
for an example of a customized bean and
ExampleCustomizedBeanCustomizer
for
an example of a customizer class.
Usage: @customizer customizerClassName
Usage: @wld:bean customizer = customizerClassName
public static final AnnotationDefinition ALLOW_DIFF_WITH_SIBLING_CLASS
public static final AnnotationDefinition VALIDATOR
public static void methodName(BeanType bean) throws IllegalArgumentException;
See ExampleValidationBean
for an example use of this annotation and
ExampleCustomValidator.validateExampleValidationBean(weblogic.descriptor.example.ExampleValidationBean)
for an example of a validator method.
Usage: @validator validatorMethod
Usage: @wld:bean validator = validatorMethod
public static final AnnotationDefinition ROOT
Usage: @root rootElementName
Usage: @wld:bean root = rootElementName
public static final AnnotationDefinition BASE_INTERFACE
Usage: @baseInterface
Usage: @wld:bean baseInterface = booleanValue
public static final AnnotationDefinition REFERENCEABLE
Usage: @referenceable
Usage: @wld:bean referenceable = booleanValue
public static final AnnotationDefinition XML_TYPE_NAME
Usage: @xmlTypeName String
Usage: @wld:bean xmlTypeName = String
public static final AnnotationDefinition SCHEMA_LOCATION
Usage: @schemaLocation String
Usage: @wld:bean schemaLocation = String
public static final AnnotationDefinition TARGET_NAMESPACE
Usage: @targetNamespace String
Usage: @wld:bean targetNamespace = String
public static final AnnotationDefinition DELEGATE_BEAN
Usage: @delegate String
Usage: @wld:bean delegate = String
public static final AnnotationDefinition INHERIT_SUPER_CUSTOMIZER
Usage: @inheritSuperCustomizer String
Constructor Detail |
---|
public BeanAnnotations()
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |