All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsimpledb.spring.JSimpleDBNamespaceHandler Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version

/*
 * Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
 */

package org.jsimpledb.spring;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * Spring {@link org.springframework.beans.factory.xml.NamespaceHandler NamespaceHandler}
 * for the jsimpledb XML namespace.
 *
 * 

* This class adds support for the <jsimpledb:jsimpledb>, <jsimpledb:scan-classes> and * <jsimpledb:scan-field-types> XML tags. * * @see org.jsimpledb.spring */ public class JSimpleDBNamespaceHandler extends NamespaceHandlerSupport { public static final String JSIMPLEDB_NAMESPACE_URI = "http://jsimpledb.googlecode.com/schema/jsimpledb"; public static final String JSIMPLEDB_TAG = "jsimpledb"; public static final String SCAN_CLASSES_TAG = "scan-classes"; public static final String SCAN_FIELD_TYPES_TAG = "scan-field-types"; @Override public void init() { this.registerBeanDefinitionParser(JSIMPLEDB_TAG, new JSimpleDBBeanDefinitionParser()); this.registerBeanDefinitionParser(SCAN_CLASSES_TAG, new ScanClassesBeanDefinitionParser()); this.registerBeanDefinitionParser(SCAN_FIELD_TYPES_TAG, new ScanFieldTypesBeanDefinitionParser()); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy