public JBossExtensionDeployer(Class<T> output, String specName, Class<U> specClass, String jbossName, Class<V> jbossClass, Set<Class<?>> excluded) { super(output, toMap(specName, specClass, jbossName, jbossClass), excluded); if (specClass == null) throw new IllegalArgumentException("Null spec class"); if (jbossClass == null) throw new IllegalArgumentException("Null jboss class"); this.specName = specName; this.specClass = specClass; this.jbossName = jbossName; this.jbossClass = jbossClass; }