public Object createObject(String interfaceName) throws JAXRException {
// we don't use reflection so that we can work in environments where
// we may not have permission to do so
if (LifeCycleManager.ASSOCIATION.equals(interfaceName)) {
return new AssociationImpl(this);
}
else if (LifeCycleManager.AUDITABLE_EVENT.equals(interfaceName)) {
throw new UnsupportedCapabilityException();
}
else if (LifeCycleManager.CLASSIFICATION.equals(interfaceName)) {