org.apache.openjpa.meta
Class InterfaceImplGenerator

java.lang.Object
  extended by org.apache.openjpa.meta.InterfaceImplGenerator

 class InterfaceImplGenerator
extends Object

Creates implementations of managed interfaces. Will throw exceptions on unknown properties.

Author:
Steve Kim

Constructor Summary
InterfaceImplGenerator(MetaDataRepository repos)
          Constructor.
 
Method Summary
 Class<?> createImpl(ClassMetaData meta)
          Create a concrete implementation of the given type, possibly returning a cached version of the class.
protected  String getClassName(ClassMetaData meta)
          Return a unique Class name.
(package private)  boolean isImplType(Class<?> cls)
           
 Class<?> toManagedInterface(Class<?> cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceImplGenerator

public InterfaceImplGenerator(MetaDataRepository repos)
Constructor. Supply repository.

Method Detail

createImpl

public Class<?> createImpl(ClassMetaData meta)
Create a concrete implementation of the given type, possibly returning a cached version of the class.


getClassName

protected final String getClassName(ClassMetaData meta)
Return a unique Class name.


isImplType

boolean isImplType(Class<?> cls)

toManagedInterface

public Class<?> toManagedInterface(Class<?> cls)


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.