Package org.jboss.deployers.spi

Examples of org.jboss.deployers.spi.DeploymentException


    for (Object anObj : group) {
      if (anObj instanceof TranslatorMetaData) {
        TranslatorMetaData data = (TranslatorMetaData)anObj;
        String translatorName = data.getName();
        if (translatorName == null) {
          throw new DeploymentException(RuntimePlugin.Util.getString("name_not_found", unit.getName())); //$NON-NLS-1$
        }
       
        // fill with default properties for the tooling to see the properties
        Properties props = TranslatorUtil.getTranslatorPropertiesAsProperties(data.getExecutionFactoryClass());
        data.setProperties(props);
View Full Code Here


      if (anObj instanceof TranslatorMetaData) {
        TranslatorMetaData data = (TranslatorMetaData)anObj;
       
        ManagedObject mo = this.mof.initManagedObject(data, TranslatorMetaData.class, data.getName(),data.getName());
        if (mo == null) {
          throw new DeploymentException("could not create managed object"); //$NON-NLS-1$
        }
        managedObjects.put(mo.getName(), mo);
       
      }
    }
View Full Code Here

        if (mp.getValue() != null) {
          dsProp.setValue(mp.getValue());
        }
       
        if(mp.isMandatory() && mp.getValue() == null && mp.getDefaultValue() == null) {
          throw new DeploymentException(RuntimePlugin.Util.getString("required_property_not_exists", mp.getName())); //$NON-NLS-1$
        }
      }
    } 
   
    group.addTranslator(translator);
View Full Code Here

        // Create the context for the deployment associated with
        // the deployment descriptor's parent container
        createContext(sc, new String[]{"."});
      }
    } catch (Exception e) {
      throw new DeploymentException(e);
    }
   
    return(ret);
  }
View Full Code Here

            }
          }
        }
 
      } catch (Exception e) {
        throw new DeploymentException("Failed to explode deployment unit '"+root+"'", e);
      }
    }
  }
View Full Code Here

            }
          }
        }

      } catch (Exception e) {
        throw new DeploymentException("Failed to explode deployment unit '"+root+"'", e);
      }     
    }
  }
View Full Code Here

        // Create the context for the deployment associated with
        // the deployment descriptor's parent container
        createContext(sc);               
      }
    } catch (Exception e) {
      throw new DeploymentException(e);
    }
   
    return(ret);
  }
View Full Code Here

                 deployment.addInjector(injector);
             }
         }
         catch (Throwable throwable)
         {
            throw new DeploymentException(throwable);
         }
      }
   }
View Full Code Here

   }

   public void deployInternal(DeploymentUnit unit, BootstrapInfo info) throws DeploymentException
   {
      if (info.getEjbServices() == null)
         throw new DeploymentException("Missing ejb services value: " + unit);

      if (isRelevant(unit) == false)
         return;

      BeanMetaDataBuilder builder = BeanMetaDataBuilder.createBuilder(DeployersUtils.getDeploymentBeanName(unit), getDeploymentClass().getName());
View Full Code Here

               subcontext.bind("BeanManager", reference);
            }
         }
         catch (NamingException e)
         {
            throw new DeploymentException(e);
         }
      }
View Full Code Here

TOP

Related Classes of org.jboss.deployers.spi.DeploymentException

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.