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

org.codehaus.xfire.spring.config.SchemaBean Maven / Gradle / Ivy

The newest version!
package org.codehaus.xfire.spring.config;

import org.springframework.beans.factory.FactoryBean;

/**
 * @author Tomasz Sztelak
 * 
 * @org.apache.xbean.XBean element="schema" contentProperty="location" 
 * 
 */
public class SchemaBean
    implements FactoryBean
{
    private String location;

    public String getLocation()
    {
        return location;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    /* (non-Javadoc)
     * @see org.springframework.beans.factory.FactoryBean#getObject()
     */
    public Object getObject()
        throws Exception
    {
        return location;
    }

    public Class getObjectType()
    {
        return String.class;

    }

    public boolean isSingleton()
    {
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy