Search in sources :

Example 21 with ApplicationClientDescriptor

use of com.sun.enterprise.deployment.ApplicationClientDescriptor in project Payara by payara.

the class AppClientValidator method accept.

@Override
public void accept(BundleDescriptor descriptor) {
    if (descriptor instanceof ApplicationClientDescriptor) {
        ApplicationClientDescriptor appClientDesc = (ApplicationClientDescriptor) descriptor;
        accept(appClientDesc);
        // inject field.
        for (InjectionCapable injectable : appClientDesc.getInjectableResources(appClientDesc)) {
            accept(injectable);
        }
        super.accept(descriptor);
    }
}
Also used : InjectionCapable(com.sun.enterprise.deployment.InjectionCapable) ApplicationClientDescriptor(com.sun.enterprise.deployment.ApplicationClientDescriptor)

Aggregations

ApplicationClientDescriptor (com.sun.enterprise.deployment.ApplicationClientDescriptor)21 EjbBundleDescriptor (com.sun.enterprise.deployment.EjbBundleDescriptor)5 WebBundleDescriptor (com.sun.enterprise.deployment.WebBundleDescriptor)5 Application (com.sun.enterprise.deployment.Application)4 URI (java.net.URI)4 EjbDescriptor (com.sun.enterprise.deployment.EjbDescriptor)3 ManagedBeanDescriptor (com.sun.enterprise.deployment.ManagedBeanDescriptor)3 AppClientArchivist (com.sun.enterprise.deployment.archivist.AppClientArchivist)3 File (java.io.File)3 Iterator (java.util.Iterator)3 ReadableArchive (org.glassfish.api.deployment.archive.ReadableArchive)3 RootDeploymentDescriptor (org.glassfish.deployment.common.RootDeploymentDescriptor)3 FileArchive (com.sun.enterprise.deploy.shared.FileArchive)2 ConnectorDescriptor (com.sun.enterprise.deployment.ConnectorDescriptor)2 PersistenceUnitDescriptor (com.sun.enterprise.deployment.PersistenceUnitDescriptor)2 MultiReadableArchive (com.sun.enterprise.deployment.deploy.shared.MultiReadableArchive)2 Set (java.util.Set)2 Attributes (java.util.jar.Attributes)2 Manifest (java.util.jar.Manifest)2 ModuleDescriptor (org.glassfish.deployment.common.ModuleDescriptor)2