jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/model/RuntimeModeler.java
changeset 43852 93a527059d8a
parent 42398 a05b6a285169
child 45678 65fdff10664d
equal deleted inserted replaced
43752:3c68ef249093 43852:93a527059d8a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   344             throw new RuntimeModelerException(errorMessage);
   344             throw new RuntimeModelerException(errorMessage);
   345         }
   345         }
   346     }
   346     }
   347 
   347 
   348     private boolean noWrapperGen() {
   348     private boolean noWrapperGen() {
   349         if (Runtime.version().major() >= 9) return true;
       
   350         Object o = config.properties().get(SuppressDocLitWrapperGeneration);
   349         Object o = config.properties().get(SuppressDocLitWrapperGeneration);
   351         return (o!= null && o instanceof Boolean) ? ((Boolean) o) : false;
   350         return (o!= null && o instanceof Boolean) ? ((Boolean) o) : false;
   352     }
   351     }
   353 
   352 
   354     private Class getRequestWrapperClass(String className, Method method, QName reqElemName) {
   353     private Class getRequestWrapperClass(String className, Method method, QName reqElemName) {