com.sun.enterprise.deployment.annotation.introspection
Class AppClientPersistenceDependencyAnnotationScanner

java.lang.Object
  extended by com.sun.enterprise.deployment.annotation.introspection.AbstractAnnotationScanner
      extended by com.sun.enterprise.deployment.annotation.introspection.AppClientPersistenceDependencyAnnotationScanner
All Implemented Interfaces:
AnnotationScanner

@Service(name="car")
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class AppClientPersistenceDependencyAnnotationScanner
extends AbstractAnnotationScanner

Scans for annotations relevant to persistence units that indicate an app client depends on at least one persistence unit.

Author:
tjquinn

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.annotation.introspection.AbstractAnnotationScanner
annotations
 
Constructor Summary
AppClientPersistenceDependencyAnnotationScanner()
           
 
Method Summary
protected  void init(java.util.Set<java.lang.String> annotationsSet)
          Invoked so the concrete subclass can populate the annotations set.
 
Methods inherited from class com.sun.enterprise.deployment.annotation.introspection.AbstractAnnotationScanner
constantPoolToFQCN, getAnnotations, isAnnotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppClientPersistenceDependencyAnnotationScanner

public AppClientPersistenceDependencyAnnotationScanner()
Method Detail

init

protected void init(java.util.Set<java.lang.String> annotationsSet)
Description copied from class: AbstractAnnotationScanner
Invoked so the concrete subclass can populate the annotations set.

Concrete implementations of this method should add to the set one or more Strings corresponding to the annotations of interest.

Specified by:
init in class AbstractAnnotationScanner
Parameters:
annotationsSet - the Set object to be populated


Copyright © 2012 GlassFish Community. All Rights Reserved.