* @param type child resource type
* @param name child resource name
* @return child resource
*/
public Resource get(ResourceType type, Object name) throws RegistryException{
Resource result = null;
EntityManager em = null;
try {
em = ResourceUtils.getEntityManager();
em.getTransaction().begin();
QueryGenerator generator;