play.modules.morphia
Class MorphiaEnhancer

java.lang.Object
  extended by play.classloading.enhancers.Enhancer
      extended by play.modules.morphia.MorphiaEnhancer

public class MorphiaEnhancer
extends Enhancer

This class uses the Play framework enhancement process to enhance classes marked with the morphia annotations.

Author:
greenlaw110@gmail.com

Nested Class Summary
 
Nested classes/interfaces inherited from class play.classloading.enhancers.Enhancer
Enhancer.ApplicationClassesClasspath
 
Field Summary
static String PACKAGE_NAME
           
 
Fields inherited from class play.classloading.enhancers.Enhancer
classPool
 
Constructor Summary
MorphiaEnhancer()
           
 
Method Summary
 void enhanceThisClass(ApplicationClasses.ApplicationClass applicationClass)
           
 
Methods inherited from class play.classloading.enhancers.Enhancer
createAnnotation, createAnnotation, getAnnotations, getAnnotations, getAnnotations, hasAnnotation, hasAnnotation, makeClass, newClassPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE_NAME

public static final String PACKAGE_NAME
See Also:
Constant Field Values
Constructor Detail

MorphiaEnhancer

public MorphiaEnhancer()
Method Detail

enhanceThisClass

public void enhanceThisClass(ApplicationClasses.ApplicationClass applicationClass)
                      throws Exception
Specified by:
enhanceThisClass in class Enhancer
Throws:
Exception


Copyright © 2012. All Rights Reserved.