private PersistenceUnitDependencyResolver persistenceUnitDependencyResolver;
public ClientENCInjectionContainer(VFSDeploymentUnit unit, JBossClientMetaData xml, Class<?> mainClass, String applicationClientName, ClassLoader classLoader,
Context encCtx, PersistenceUnitDependencyResolver persistenceUnitDependencyResolver) throws NamingException
{
super(new SimpleJavaEEModule((unit.getParent() != null ? unit.getParent().getSimpleName() : null), unit.getSimpleName()));
if (mainClass == null)
throw new NullPointerException("mainClass is mandatory");
if (applicationClientName == null)
throw new NullPointerException("applicationClientName is mandatory");
if (classLoader == null)