org.openrdf.repository.object.composition
Class BehaviourFactory
java.lang.Object
org.openrdf.repository.object.composition.BehaviourFactory
- Direct Known Subclasses:
- PropertyMapperFactory, SparqlBehaviourFactory
public abstract class BehaviourFactory
- extends Object
Base class for constructing behaviours from other interfaces or classes.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BEAN_FIELD_NAME
protected static final String BEAN_FIELD_NAME
- See Also:
- Constant Field Values
cp
protected ClassFactory cp
properties
protected PropertyMapper properties
BehaviourFactory
public BehaviourFactory()
setClassDefiner
public void setClassDefiner(ClassFactory definer)
setPropertyMapper
public void setPropertyMapper(PropertyMapper mapper)
findImplementations
public Collection<Class<?>> findImplementations(Collection<Class<?>> interfaces)
getJavaClassName
protected abstract String getJavaClassName(Class<?> concept)
enhance
protected abstract void enhance(ClassTemplate cc,
Class<?> concept)
throws Exception
- Throws:
Exception
findBehaviour
protected Class<?> findBehaviour(Class<?> concept)
throws Exception
- Throws:
Exception
isEnhanceable
protected abstract boolean isEnhanceable(Class<?> concept)
throws ObjectStoreConfigException
- Throws:
ObjectStoreConfigException
Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.