use of com.sun.enterprise.tools.verifier.wsclient.WebServiceClientCheckMgrImpl in project Payara by payara.
the class WebCheckMgrImpl method checkWebServicesClient.
protected void checkWebServicesClient(Descriptor descriptor) throws Exception {
if (verifierFrameworkContext.isPartition() && !verifierFrameworkContext.isWebServicesClient())
return;
WebBundleDescriptor desc = (WebBundleDescriptor) descriptor;
WebServiceClientCheckMgrImpl webServiceClientCheckMgr = new WebServiceClientCheckMgrImpl(verifierFrameworkContext);
if (desc.hasWebServiceClients()) {
Set serviceRefDescriptors = desc.getServiceReferenceDescriptors();
Iterator it = serviceRefDescriptors.iterator();
while (it.hasNext()) {
webServiceClientCheckMgr.setVerifierContext(context);
webServiceClientCheckMgr.check((ServiceReferenceDescriptor) it.next());
}
}
}
use of com.sun.enterprise.tools.verifier.wsclient.WebServiceClientCheckMgrImpl in project Payara by payara.
the class AppClientCheckMgrImpl method checkWebServicesClient.
protected void checkWebServicesClient(Descriptor descriptor) throws Exception {
if (verifierFrameworkContext.isPartition() && !verifierFrameworkContext.isWebServicesClient())
return;
WebServiceClientCheckMgrImpl webServiceClientCheckMgr = new WebServiceClientCheckMgrImpl(verifierFrameworkContext);
ApplicationClientDescriptor desc = (ApplicationClientDescriptor) descriptor;
if (desc.hasWebServiceClients()) {
Set serviceRefDescriptors = desc.getServiceReferenceDescriptors();
Iterator it = serviceRefDescriptors.iterator();
while (it.hasNext()) {
webServiceClientCheckMgr.setVerifierContext(context);
webServiceClientCheckMgr.check((ServiceReferenceDescriptor) it.next());
}
} else
// set not applicable for all tests in WebServices for this Appclient Bundle
webServiceClientCheckMgr.setVerifierContext(context);
}
use of com.sun.enterprise.tools.verifier.wsclient.WebServiceClientCheckMgrImpl in project Payara by payara.
the class EjbCheckMgrImpl method checkWebServicesClient.
protected void checkWebServicesClient(Descriptor descriptor) throws Exception {
if (verifierFrameworkContext.isPartition() && !verifierFrameworkContext.isWebServicesClient())
return;
EjbBundleDescriptorImpl desc = (EjbBundleDescriptorImpl) descriptor;
WebServiceClientCheckMgrImpl webServiceClientCheckMgr = new WebServiceClientCheckMgrImpl(verifierFrameworkContext);
if (desc.hasWebServiceClients()) {
Set ejbdescs = desc.getEjbs();
Iterator ejbIt = ejbdescs.iterator();
while (ejbIt.hasNext()) {
EjbDescriptor ejbDesc = (EjbDescriptor) ejbIt.next();
context.setEjbDescriptorForServiceRef(ejbDesc);
Set serviceRefDescriptors = ejbDesc.getServiceReferenceDescriptors();
Iterator it = serviceRefDescriptors.iterator();
while (it.hasNext()) {
webServiceClientCheckMgr.setVerifierContext(context);
webServiceClientCheckMgr.check((ServiceReferenceDescriptor) it.next());
}
}
context.setEjbDescriptorForServiceRef(null);
}
}
Aggregations