FileDocCategorySizeDatePackage
WSClientTest.javaAPI DocGlassfish v2 API4030Fri May 04 22:34:18 BST 2007com.sun.enterprise.tools.verifier.tests.wsclients

WSClientTest

public abstract class WSClientTest extends VerifierTest implements VerifierCheck, WSClientCheck
Superclass for all EJB tests, contains common services.
version

Fields Summary
Constructors Summary
Methods Summary
public Resultcheck(Descriptor descriptor)

run an individual test against the deployment descriptor for the archive the verifier is performing compliance tests against.

param
descriptor deployment descriptor for the archive
return
result object containing the result of the individual test performed

        return check((ServiceReferenceDescriptor) descriptor);
    
public abstract Resultcheck(ServiceReferenceDescriptor descriptor)

param
descriptor deployment descriptor for the archive file
return
result object containing the result of the individual test performed

protected java.lang.StringgetAbstractArchiveUri(ServiceReferenceDescriptor desc)

        String archBase = getVerifierContext().getAbstractArchive().
                getArchiveUri();
        final ModuleDescriptor moduleDescriptor = desc.getBundleDescriptor().
                getModuleDescriptor();
        if (moduleDescriptor.isStandalone()) {
            return archBase; // it must be a stand-alone module; no such physical dir exists
        } else {
            return archBase + File.separator +
                    FileUtils.makeFriendlyFileName(moduleDescriptor.getArchiveUri());
        }