org.oddjob.arooa.deploy.ClassesOnlyDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arooa Show documentation
Show all versions of arooa Show documentation
A Rip Off Of Ant - A drag and drop component framework.
package org.oddjob.arooa.deploy;
import java.net.URI;
import org.oddjob.arooa.ArooaBeanDescriptor;
import org.oddjob.arooa.ArooaDescriptor;
import org.oddjob.arooa.ClassResolver;
import org.oddjob.arooa.ElementMappings;
import org.oddjob.arooa.convert.ConversionProvider;
import org.oddjob.arooa.life.ClassLoaderClassResolver;
import org.oddjob.arooa.reflect.ArooaClass;
import org.oddjob.arooa.reflect.PropertyAccessor;
/**
* An ArooaDescriptor that only provides classes;
*
* @author rob
*
*/
public class ClassesOnlyDescriptor implements ArooaDescriptor {
private final ClassResolver classFest;
public ClassesOnlyDescriptor(ClassLoader classLoader) {
classFest = new ClassLoaderClassResolver(classLoader);
}
public ArooaBeanDescriptor getBeanDescriptor(
ArooaClass classIdentifier, PropertyAccessor accessor) {
return null;
}
public ConversionProvider getConvertletProvider() {
return null;
}
public ElementMappings getElementMappings() {
return null;
}
public String getPrefixFor(URI namespace) {
return null;
}
public ClassResolver getClassResolver() {
return classFest;
}
}