if (objectType == null) {
throw new ResourceNotFoundException("No site type found for " + siteType);
}
POMSessionManager mgr = operationContext.getRuntimeContext().getRuntimeComponent(POMSessionManager.class);
POMSession session = mgr.getSession();
if (session == null)
throw new OperationException(operationName, "MOP session was null");
Workspace workspace = session.getWorkspace();
if (workspace == null)
throw new OperationException(operationName, "MOP workspace was null");
execute(operationContext, resultHandler, workspace, objectType);
}