|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bm.ejb3metadata.annotations.metadata.MetaDataCache
public final class MetaDataCache
Method Summary | |
---|---|
static void |
addClasses(java.lang.String... classes)
Adds explicit matadate form annotated classes to the ejb3unit framework |
static java.lang.String |
getBeanImplementationForInterface(java.lang.Class<?> toInspect)
Returns the implementation for the class |
static ClassAnnotationMetadata |
getClassAnnotationMetaData(java.lang.String className)
Returns the ClassAnnotationMetadata for the given class name |
static DynamicDIModuleCreator |
getDynamicModuleCreator(Ejb3UnitCfg conf,
javax.persistence.EntityManager manager,
java.lang.Class toCheck)
Returns the Module Module for guice dependency injection with
valid ejb3mapping definition. |
static ClassAnnotationMetadata |
getMetaData(java.lang.Class toCheck)
Returns the metadate mapping for the jar where the class file is in. |
static MockedDIModuleCreator |
getMockModuleCreator(java.lang.Class toCheck)
Returns the Module Module for guice dependency injection with
valid ejb3mapping definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void addClasses(java.lang.String... classes)
classes
- the list of classespublic static java.lang.String getBeanImplementationForInterface(java.lang.Class<?> toInspect)
toInspect
- the interface.
public static ClassAnnotationMetadata getClassAnnotationMetaData(java.lang.String className)
ClassAnnotationMetadata
for the given class name
className
- The name of the class in the form com.bla.class
public static DynamicDIModuleCreator getDynamicModuleCreator(Ejb3UnitCfg conf, javax.persistence.EntityManager manager, java.lang.Class toCheck)
Module
for guice dependency injection with
valid ejb3mapping definition.
conf
- the configurationmanager
- the entity manager instance which should be used for the
bindingtoCheck
- the class wich identifyes the module
public static ClassAnnotationMetadata getMetaData(java.lang.Class toCheck)
toCheck
- the class wich identifyes the module
public static MockedDIModuleCreator getMockModuleCreator(java.lang.Class toCheck)
Module
for guice dependency injection with
valid ejb3mapping definition. Will inject mock controlls.
toCheck
- the class to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |