}
try
{
AbstractResourceDescriptor descriptor = new AbstractResourceDescriptorImpl(resource, invokerFactory);
// validate AbstractResourceDescriptor
descriptor.accept(rdv);
if (properties != null)
descriptor.getProperties().putAll(properties);
addResource(new SingletonObjectFactory<AbstractResourceDescriptor>(descriptor, resource));
}
catch (Exception e)