Examples of addWarningDetails()


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

            }else {
                if((descriptor instanceof EjbEntityDescriptor)
                        && (isReadOnly))
                {
                    oneWarning = true;
                    result.addWarningDetails(smh.getLocalString
                                       ("tests.componentNameConstructor",
                                        "For [ {0} ]",
                                        new Object[] {compName.toString()}));
                    result.warning(smh.getLocalString(getClass().getName()+".warning",
                    "WARNING [AS-EJB ejb] : refresh-period-in-seconds should be defined for Read Only Beans"));
View Full Code Here

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

            result.addGoodDetails(smh.getLocalString
                (getClass().getName() + ".passed",
                 "[ {0} ] declares [ {1} ] method, which properly does not throw java.rmi.RemoteException",
                 new Object[] {EJBClass.getName(),ejbFinderMethods[j].getName()}));
        } else if (ejbFindByPrimaryKeyMethodFound && throwsRemoteException) {
            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()

        } else if (ejbFindByPrimaryKeyMethodFound && throwsRemoteException) {
            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",
                    "Error: Compatibility Note:" +
                    "\n An [ {0} ] method was found, but" +
                    "\n EJB 1.0 allowed the ejbFindByPrimaryKey method to throw " +
                    "\n the java.rmi.RemoteException to indicate a non-application" +
View Full Code Here

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

        result.addGoodDetails(smh.getLocalString
                  (getClass().getName() + ".passed",
                   "[ {0} ] declares [ {1} ] method which properly does not throw java.rmi.RemoteException.",
                   new Object[] {descriptor.getEjbClassName(),methods[i].getName()}));
          } else if (ejbPostCreateFound  && throwsRemoteException) {
        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()

          } else if (ejbPostCreateFound  && 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 ejbPostCreate 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()

          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()

                new Object[] {ejbFinderMethods[j].getName()}));
                                            oneFailed = true;
                                        } else {
                                            // warning for 1.1
                                            foundWarning++;
                                            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()

                                            foundWarning++;
                                            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[] {descriptor.getEjbClassName(),ejbFinderMethods[j].getName()}));
                                            result.addWarningDetails(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.