use of com.sun.enterprise.deployment.web.ServletFilter in project Payara by payara.
the class WebBundleTracerVisitor method accept.
public void accept(BundleDescriptor descriptor) {
if (descriptor instanceof WebBundleDescriptor) {
WebBundleDescriptor webBundle = (WebBundleDescriptor) descriptor;
accept(webBundle);
for (Iterator<WebComponentDescriptor> i = webBundle.getWebComponentDescriptors().iterator(); i.hasNext(); ) {
WebComponentDescriptor aWebComp = i.next();
accept(aWebComp);
}
for (Iterator<WebService> itr = webBundle.getWebServices().getWebServices().iterator(); itr.hasNext(); ) {
WebService aWebService = itr.next();
accept(aWebService);
}
super.accept(descriptor);
for (Iterator<ServletFilter> itr = webBundle.getServletFilterDescriptors().iterator(); itr.hasNext(); ) {
ServletFilter servletFilterDescriptor = itr.next();
accept(servletFilterDescriptor);
}
}
}
use of com.sun.enterprise.deployment.web.ServletFilter in project Payara by payara.
the class WebBundleValidator method accept.
public void accept(BundleDescriptor descriptor) {
if (descriptor instanceof WebBundleDescriptor) {
WebBundleDescriptor webBundle = (WebBundleDescriptor) descriptor;
accept(webBundle);
// inject field.
for (InjectionCapable injectable : webBundle.getInjectableResources(webBundle)) {
accept(injectable);
}
for (Iterator<WebComponentDescriptor> i = webBundle.getWebComponentDescriptors().iterator(); i.hasNext(); ) {
WebComponentDescriptor aWebComp = i.next();
accept(aWebComp);
}
for (Iterator<WebService> itr = webBundle.getWebServices().getWebServices().iterator(); itr.hasNext(); ) {
WebService aWebService = itr.next();
accept(aWebService);
}
super.accept(descriptor);
for (Iterator<ServletFilter> itr = webBundle.getServletFilterDescriptors().iterator(); itr.hasNext(); ) {
ServletFilterDescriptor servletFilterDescriptor = (ServletFilterDescriptor) itr.next();
accept(servletFilterDescriptor);
}
}
}
Aggregations