Package com.oracle.coherence.cdi
Class AnnotationLiteral<T extends Annotation>
java.lang.Object
com.oracle.coherence.cdi.AnnotationLiteral<T>
- Type Parameters:
- T- the annotation type
- All Implemented Interfaces:
- Serializable,- Annotation
- Direct Known Subclasses:
- Activated.Literal,- Activating.Literal,- AlwaysFilter.Literal,- Arrived.Literal,- Assigned.Literal,- Backlog.Literal,- CacheAdd.Literal,- CacheGet.Literal,- CacheName.Literal,- CachePut.Literal,- CacheRemove.Literal,- ChainedExtractor.Extractors.Literal,- ChainedExtractor.Literal,- Committed.Literal,- Committing.Literal,- CommittingLocal.Literal,- CommittingRemote.Literal,- ConfigUri.Literal,- Connecting.Literal,- Count.Literal,- Created.Literal,- Deleted.Literal,- Departed.Literal,- Departing.Literal,- Destroyed.Literal,- Disconnected.Literal,- Disposing.Literal,- Error.Literal,- Executed.Literal,- Executing.Literal,- Inserted.Literal,- Inserting.Literal,- Lite.Literal,- Lost.Literal,- MapName.Literal,- Name.Literal,- ParticipantName.Literal,- Permits.Literal,- PofExtractor.Extractors.Literal,- PofExtractor.Literal,- Processor.Literal,- PropertyExtractor.Extractors.Literal,- PropertyExtractor.Literal,- Recovered.Literal,- Remote.Literal,- Removed.Literal,- Removing.Literal,- Replicating.Literal,- Rollback.Literal,- Scope.Literal,- ScopeName.Literal,- SerializerFormat.Literal,- ServiceName.Literal,- SessionName.Literal,- Started.Literal,- Starting.Literal,- Stopped.Literal,- Stopping.Literal,- SubscriberGroup.Literal,- Synced.Literal,- Synchronous.Literal,- Syncing.Literal,- Truncated.Literal,- Updated.Literal,- Updating.Literal,- View.Literal,- WhereFilter.Literal
public abstract class AnnotationLiteral<T extends Annotation>
extends Object
implements Annotation, Serializable
Supports inline instantiation of annotation type instances.
 
 An instance of an annotation type may be obtained by subclassing AnnotationLiteral.
 
 public abstract class PayByQualifier
       extends AnnotationLiteral<PayBy>
       implements PayBy {}
 
 An extension of AnnotationLiteral must do two things:- Must have the target annotation as its generic type
- Must implement the target type
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionClass<? extends Annotation> Method returns the type of the annotation literal.booleaninthashCode()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.annotation.AnnotationtoString
- 
Constructor Details- 
AnnotationLiteralprotected AnnotationLiteral()
 
- 
- 
Method Details- 
annotationTypeMethod returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
- annotationTypein interface- Annotation
- Returns:
- annotation type of this literal.
 
- 
equals- Specified by:
- equalsin interface- Annotation
- Overrides:
- equalsin class- Object
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- Annotation
- Overrides:
- hashCodein class- Object
 
 
-