Methods Summary |
---|
public void | check(com.sun.enterprise.deployment.Descriptor descriptor)Check Ejb for spec. conformance
ServiceReferenceDescriptor rootDescriptor = (ServiceReferenceDescriptor) descriptor;
ModuleType moduleType = rootDescriptor.getBundleDescriptor()
.getModuleType();
if (moduleType == ModuleType.EJB)
moduleName = Result.EJB;
else if (moduleType == ModuleType.WAR)
moduleName = Result.WEB;
else if (moduleType == ModuleType.CAR)
moduleName = Result.APPCLIENT;
super.check(rootDescriptor);
|
protected com.sun.enterprise.deployment.BundleDescriptor | getBundleDescriptor(com.sun.enterprise.deployment.Descriptor descriptor)
return ((ServiceReferenceDescriptor)descriptor).getBundleDescriptor();
|
protected com.sun.enterprise.tools.verifier.tests.ComponentNameConstructor | getComponentNameConstructor(com.sun.enterprise.deployment.Descriptor descriptor)
return new ComponentNameConstructor((ServiceReferenceDescriptor)descriptor);
|
protected java.lang.String | getSchemaVersion(com.sun.enterprise.deployment.Descriptor descriptor)A webservices client can be an application client or an ejb or a web component
For a j2ee1.4 specific webservices client the version of client descriptor
is 1.1. For jee 5.0 this version is 1.0
String wsclientVersion = null;
String version = ((ServiceReferenceDescriptor) descriptor).getBundleDescriptor()
.getSpecVersion();
if(moduleName.equals(Result.EJB)){
if("2.1".equals(version)) wsclientVersion = "1.1"; // NOI18N
else if("3.0".equals(version)) wsclientVersion = "1.2"; // NOI18N
} else if(moduleName.equals(Result.WEB)){
if("2.4".equals(version)) wsclientVersion = "1.1"; // NOI18N
else if("2.5".equals(version)) wsclientVersion = "1.2"; // NOI18N
} else if(moduleName.equals(Result.APPCLIENT)){
if("1.4".equals(version)) wsclientVersion = "1.1"; // NOI18N
else if("5".equals(version)) wsclientVersion = "1.2"; // NOI18N
}
if(wsclientVersion==null) {
wsclientVersion = ""; // should we not throw exception?
}
return wsclientVersion;
|
protected java.lang.String | getSunONETestsListFileName()
return sunONETestsListFileName;
|
protected java.lang.String | getTestsListFileName()return the configuration file name for the list of tests pertinent to the
connector architecture
return testsListFileName;
|
protected void | setModuleName(Result r)
r.setModuleName(moduleName);
|