Examples of addWarningDetails()


Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

          } else if (ejbCreateFound && throwsRemoteException) {
        result.addWarningDetails(smh.getLocalString
                  ("tests.componentNameConstructor",
                   "For [ {0} ]",
                   new Object[] {compName.toString()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".debug1",
                "For EJB Class [ {0} ] method [ {1} ]",
                new Object[] {descriptor.getEjbClassName(),methods[i].getName()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".warning",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

                   new Object[] {compName.toString()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".debug1",
                "For EJB Class [ {0} ] method [ {1} ]",
                new Object[] {descriptor.getEjbClassName(),methods[i].getName()}));
        result.addWarningDetails(smh.getLocalString
               (getClass().getName() + ".warning",
                "Error: Compatibility Note:" +
                "\n An [ {0} ] method was found, but" +
                "\n EJB 1.0 allowed the ejbCreate method to throw the " +
                "\n java.rmi.RemoteException to indicate a non-application" +
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

                 "An [ {0} ] method was found with valid return type.",
                 new Object[] {ejbFinderMethods[j].getName()}));
        } else if (ejbFindMethodFound && (!returnValueValid)) {
                                    if (primaryKeyType.equals("java.lang.Object")) {
                                        oneWarning = true;
          result.addWarningDetails(smh.getLocalString
               ("tests.componentNameConstructor",
          "For [ {0} ]",
          new Object[] {compName.toString()}));
                result.addWarningDetails(smh.getLocalString
                (getClass().getName() + ".debug1",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

          result.failed(smh.getLocalString
            (getClass().getName() + ".failedException",
             "Error: [ {0} ] class not found.",
             new Object[] {((EjbEntityDescriptor)descriptor).getPrimaryKeyClassName()}));
                        } catch (Throwable t) {
          result.addWarningDetails(smh.getLocalString
               ("tests.componentNameConstructor",
          "For [ {0} ]",
          new Object[] {compName.toString()}));
                            result.warning(smh.getLocalString
                                (getClass().getName() + ".warningException",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

                                        oneWarning = true;
          result.addWarningDetails(smh.getLocalString
               ("tests.componentNameConstructor",
          "For [ {0} ]",
          new Object[] {compName.toString()}));
                result.addWarningDetails(smh.getLocalString
                (getClass().getName() + ".debug1",
                 "For EJB Class [ {0} ] Finder Method [ {1} ]",
                 new Object[] {EJBClass.getName(),ejbFinderMethods[j].getName()}));
                result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".warning",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

          new Object[] {compName.toString()}));
                result.addWarningDetails(smh.getLocalString
                (getClass().getName() + ".debug1",
                 "For EJB Class [ {0} ] Finder Method [ {1} ]",
                 new Object[] {EJBClass.getName(),ejbFinderMethods[j].getName()}));
                result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".warning",
                                                           "Warning: An [ {0} ] method was found, but [ {1} ] method has [ {2} ] return type.   Deployment descriptor primary key type is [ {3} ]. Definition of the primary key type is deferred to deployment time ?",
                                                           new Object[] {ejbFinderMethods[j].getName(), ejbFinderMethods[j].getName(),ejbFinderMethods[j].getReturnType().getName(),primaryKeyType}));
            } else {
                oneFailed = true;
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

        // now display the appropriate results for this particular ejbCreate
        // method
        if (ejbCreateFound && !returnsPrimaryKeyType) {
                                    if (primaryKeyType.equals("java.lang.Object")) {
                                        oneWarning = true;
          result.addWarningDetails(smh.getLocalString
                 ("tests.componentNameConstructor",
                  "For [ {0} ]",
                  new Object[] {compName.toString()}));
                result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".debug1",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

                                        oneWarning = true;
          result.addWarningDetails(smh.getLocalString
                 ("tests.componentNameConstructor",
                  "For [ {0} ]",
                  new Object[] {compName.toString()}));
                result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".debug1",
                  "For EJB Class [ {0} ] method [ {1} ]",
                  new Object[] {descriptor.getEjbClassName(),methods[i].getName()}));
                result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".warning",
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

                  new Object[] {compName.toString()}));
                result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".debug1",
                  "For EJB Class [ {0} ] method [ {1} ]",
                  new Object[] {descriptor.getEjbClassName(),methods[i].getName()}));
                result.addWarningDetails(smh.getLocalString
                 (getClass().getName() + ".warning",
                  "Warning: An [ {0} ] method was found, but [ {1} ] method has [ {2} ] return type.   Deployment descriptor primary key type [ {3} ]. Definition of the primary key type is deferred to deployment time ?",
                  new Object[] {methods[i].getName(),methods[i].getName(),methods[i].getReturnType().getName(),primaryKeyType}));
                                    } else {
                oneFailed = true;
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.Result.addWarningDetails()

      }
        }
    }
 
    if (badField) {
        result.addWarningDetails(smh.getLocalString
               ("tests.componentNameConstructor",
                "For [ {0} ]",
                new Object[] {compName.toString()}));
        result.warning(smh.getLocalString
           (getClass().getName() + ".warning",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.