1 /* 2 * Copyright 2005 Werner Guttmann 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 5 * in compliance with the License. You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 11 * or implied. See the License for the specific language governing permissions and limitations under 12 * the License. 13 */ 14 package org.castor.mapping; 15 16 17 /** 18 * An JDO-specific factory for acquiring MappingLoader instances. 19 * 20 * @author <a href="mailto:werner DOT guttmann AT gmx DOT net">Werner Guttmann</a> 21 * @version $Revision: 5951 $ $Date: 2006-04-13 10:49:49 -0600 (Thu, 13 Apr 2006) $ 22 * @since 1.0.4 23 */ 24 public class JDOMappingLoaderFactory extends AbstractMappingLoaderFactory { 25 26 /** The name of the factory. */ 27 public static final String NAME = "JDO"; 28 29 /** 30 * Class name of the JDO mapping loader 31 */ 32 private static final String CLASS_NAME = "org.exolab.castor.jdo.engine.JDOMappingLoader"; 33 34 /** 35 * @see org.castor.mapping.MappingLoaderFactory#getName() 36 */ 37 public String getName() { 38 return NAME; 39 } 40 41 /** 42 * @inheritDoc 43 * @see org.castor.mapping.AbstractMappingLoaderFactory#getClassname() 44 */ 45 public String getClassname() { 46 return CLASS_NAME; 47 } 48 49 /** 50 * @inheritDoc 51 * @see org.castor.mapping.MappingLoaderFactory#getBindingType() 52 */ 53 public BindingType getBindingType() { 54 return BindingType.JDO; 55 } 56 57 } 58