private static void initMutableMetaDataRetrieval(MutableMetaDataRepository repository, DeploymentContext deploymentContext)
{
if (deploymentContext == null)
throw new IllegalArgumentException("Null deployment context");
ScopeBuilder builder = deploymentContext.getTransientAttachments().getAttachment(ScopeBuilder.class);
if (builder == null)
builder = DefaultScopeBuilder.INSTANCE;
builder.initMutableMetaDataRetrieval(repository, deploymentContext);
}