Package org.jpox.plugin

Examples of org.jpox.plugin.ExtensionPoint


     * @param mgr the PluginManager
     * @param clr the ClassLoaderResolver
     */
    private void loadUserTypes(PluginManager mgr, ClassLoaderResolver clr)
    {
        ExtensionPoint exPoint = mgr.getExtensionPoint("org.jpox.store_mapping");
        for (int i = 0; i < exPoint.getExtensions().length; i++)
        {
            ConfigurationElement[] elms = exPoint.getExtensions()[i].getConfigurationElements();
            for (int e = 0; e < elms.length; e++)
            {
                String javaName = elms[e].getAttribute("java-type").trim();
                String mappingClassName = elms[e].getAttribute("mapping-class");
                String fullWrapperClassName = elms[e].getAttribute("sco-wrapper");
View Full Code Here


        datastoreMappingsByJDBCType = new MultiMap();
        datastoreMappingsBySQLType = new MultiMap();
        datastoreMappingsByJavaType = new MultiMap();

        ExtensionPoint exPoint = mgr.getExtensionPoint("org.jpox.store_datastoremapping");
        for (int i=0; i<exPoint.getExtensions().length; i++)
        {
            ConfigurationElement[] elms = exPoint.getExtensions()[i].getConfigurationElements();
            for (int e=0; e<elms.length; e++)
            {
                String javaName = elms[e].getAttribute("java-type").trim();
                String rdbmsMappingClassName = elms[e].getAttribute("rdbms-mapping-class");
                String jdbcType = elms[e].getAttribute("jdbc-type");
View Full Code Here

TOP

Related Classes of org.jpox.plugin.ExtensionPoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.