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

org.oddjob.arooa.deploy.ClassesOnlyDescriptor Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
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;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy