Package org.jboss.jca.core.spi.mdr

Examples of org.jboss.jca.core.spi.mdr.NotFoundException


      if (uniqueId.trim().equals(""))
         throw new IllegalArgumentException("UniqueId is empty");

      if (!raTemplates.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      raTemplates.remove(uniqueId);
      raRoots.remove(uniqueId);
      ironJacamar.remove(uniqueId);
   }
View Full Code Here


      if (uniqueId.trim().equals(""))
         throw new IllegalArgumentException("UniqueId is empty");

      if (!raTemplates.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      Connector md = raTemplates.get(uniqueId);

      // Always return a copy as the caller may make changes to it
      return (Connector)md.copy();
View Full Code Here

      if (uniqueId.trim().equals(""))
         throw new IllegalArgumentException("UniqueId is empty");

      if (!raRoots.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      return raRoots.get(uniqueId);
   }
View Full Code Here

      if (uniqueId.trim().equals(""))
         throw new IllegalArgumentException("UniqueId is empty");

      if (!ironJacamar.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      return ironJacamar.get(uniqueId);
   }
View Full Code Here

      if (jndi.trim().equals(""))
         throw new IllegalArgumentException("Jndi is empty");

      if (!jndiMappings.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      Map<String, List<String>> mappings = jndiMappings.get(uniqueId);

      if (mappings != null)
      {
View Full Code Here

     
      if (uniqueId.trim().equals(""))
         throw new IllegalArgumentException("UniqueId is empty");

      if (!jndiMappings.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      Map<String, List<String>> mappings = jndiMappings.get(uniqueId);

      if (mappings == null)
         return Collections.unmodifiableMap(new HashMap<String, List<String>>(0));
View Full Code Here

      if (uniqueId.trim().equals(""))
         throw new IllegalArgumentException("UniqueId is empty");

      if (!raTemplates.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      raTemplates.remove(uniqueId);
      raRoots.remove(uniqueId);
      ironJacamar.remove(uniqueId);
   }
View Full Code Here

      if (uniqueId.trim().equals(""))
         throw new IllegalArgumentException("UniqueId is empty");

      if (!raTemplates.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      Connector md = raTemplates.get(uniqueId);

      // Always return a copy as the caller may make changes to it
      return (Connector)md.copy();
View Full Code Here

      if (uniqueId.trim().equals(""))
         throw new IllegalArgumentException("UniqueId is empty");

      if (!raRoots.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      return raRoots.get(uniqueId);
   }
View Full Code Here

      if (uniqueId.trim().equals(""))
         throw new IllegalArgumentException("UniqueId is empty");

      if (!ironJacamar.containsKey(uniqueId))
         throw new NotFoundException(bundle.keyNotRegistered(uniqueId));

      return ironJacamar.get(uniqueId);
   }
View Full Code Here

TOP

Related Classes of org.jboss.jca.core.spi.mdr.NotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.