.. java:import:: javassist ClassClassPath .. java:import:: javassist ClassPool .. java:import:: org.apache.commons.collections CollectionUtils .. java:import:: org.apache.commons.collections Predicate .. java:import:: org.motechproject.mds.domain ClassData .. java:import:: org.motechproject.mds.repository MotechDataRepository .. java:import:: org.motechproject.mds.service DefaultMotechDataService .. java:import:: org.motechproject.mds.service MotechDataService .. java:import:: org.motechproject.mds.util ClassName .. java:import:: java.util ArrayList .. java:import:: java.util Collection .. java:import:: java.util LinkedHashMap .. java:import:: java.util LinkedHashSet .. java:import:: java.util Map .. java:import:: java.util Set MotechClassPool =============== .. java:package:: org.motechproject.mds.javassist :noindex: .. java:type:: public final class MotechClassPool This class holds the javasisst classpool, enriched by motech classes. All predefined additions to the ClassPool should take place here. The classpool should also be retrieved using this class, in order to be sure that the a initialization took place. Methods ------- clearEnhancedData ^^^^^^^^^^^^^^^^^ .. java:method:: public static void clearEnhancedData() :outertype: MotechClassPool getDefault ^^^^^^^^^^ .. java:method:: public static ClassPool getDefault() :outertype: MotechClassPool getEnhancedClassData ^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static ClassData getEnhancedClassData(String className) :outertype: MotechClassPool getEnhancedClasses ^^^^^^^^^^^^^^^^^^ .. java:method:: public static Collection getEnhancedClasses(boolean includeInerfaces) :outertype: MotechClassPool getHistoryClassData ^^^^^^^^^^^^^^^^^^^ .. java:method:: public static ClassData getHistoryClassData(String className) :outertype: MotechClassPool getInterfaceName ^^^^^^^^^^^^^^^^ .. java:method:: public static String getInterfaceName(String className) :outertype: MotechClassPool getRepositoryName ^^^^^^^^^^^^^^^^^ .. java:method:: public static String getRepositoryName(String className) :outertype: MotechClassPool getServiceImplName ^^^^^^^^^^^^^^^^^^ .. java:method:: public static String getServiceImplName(String className) :outertype: MotechClassPool getServiceInterface ^^^^^^^^^^^^^^^^^^^ .. java:method:: public static String getServiceInterface(String className) :outertype: MotechClassPool getTrashClassData ^^^^^^^^^^^^^^^^^ .. java:method:: public static ClassData getTrashClassData(String className) :outertype: MotechClassPool isDDEReady ^^^^^^^^^^ .. java:method:: public static boolean isDDEReady(String className) :outertype: MotechClassPool isServiceInterfaceRegistered ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static boolean isServiceInterfaceRegistered(String className) :outertype: MotechClassPool registerDDE ^^^^^^^^^^^ .. java:method:: public static void registerDDE(String className) :outertype: MotechClassPool registerEnhancedClassData ^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static void registerEnhancedClassData(ClassData enhancedClassData) :outertype: MotechClassPool registerEnum ^^^^^^^^^^^^ .. java:method:: public static void registerEnum(String enumName) :outertype: MotechClassPool registerHistoryClassData ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static void registerHistoryClassData(ClassData cData) :outertype: MotechClassPool registerServiceInterface ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static void registerServiceInterface(String className, String interfaceName) :outertype: MotechClassPool registerTrashClassData ^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static void registerTrashClassData(ClassData cData) :outertype: MotechClassPool registeredEnums ^^^^^^^^^^^^^^^ .. java:method:: public static Collection registeredEnums() :outertype: MotechClassPool registeredInterfaces ^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static Collection registeredInterfaces() :outertype: MotechClassPool unregisterEnhancedData ^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static void unregisterEnhancedData(String className) :outertype: MotechClassPool