org.codehaus.xfire.spring.config.SchemaBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xfire-spring Show documentation
Show all versions of xfire-spring Show documentation
Spring configuration support for XFire.
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;
}
}