Examples of XModuleType


Examples of com.sun.enterprise.deployment.util.XModuleType

            }

            copyExtraFilesToGeneratedFolder(dc);
            BundleDescriptor bundle = webService.getBundleDescriptor();

            XModuleType moduleType = bundle.getModuleType();
            //only EAR, WAR and EJB archives could contain wsdl files for publish
            if (!(XModuleType.EAR.equals(moduleType) ||
                    XModuleType.WAR.equals(moduleType) ||
                    XModuleType.EJB.equals(moduleType))) {
                return publishedFiles;
View Full Code Here

Examples of com.sun.enterprise.deployment.util.XModuleType

     *   b. web module and schema version earlier than 2.5;
     *   c. appclient module and schema version earlier than 5.0.
     *   d. connector module and schema version earlier than 1.6
     */
    public boolean isDDWithNoAnnotationAllowed() {
        XModuleType mType = getModuleType();

        double specVersion = Double.parseDouble(getSpecVersion());

            // we do not process annotations for earlier versions of DD
            if ( (mType.equals(XModuleType.EJB) &&
                  specVersion < ANNOTATION_EJB_VER) ||
                 (mType.equals(XModuleType.WAR) &&
                  specVersion < ANNOTATION_WAR_VER) ||
                 (mType.equals(XModuleType.CAR) &&
                  specVersion < ANNOTATION_CAR_VER||
                 (mType.equals(XModuleType.RAR) &&
                  specVersion < ANNOTATION_RAR_VER)) {
                return true;
            } else {
                return false;
            }
View Full Code Here

Examples of com.sun.enterprise.deployment.util.XModuleType

    private EndpointImpl createEndpointInfo(WebServiceEndpoint endpoint) {
       
        try {
            String endpointURL = endpoint.getEndpointAddressUri();
            EndpointType endpointType;           
            XModuleType moduleType = endpoint.getWebService().getWebServicesDescriptor().getModuleType();
            if (XModuleType.EJB == moduleType) {
                endpointType = EndpointType.EJB_ENDPOINT;
            } else {
                endpointType = EndpointType.SERVLET_ENDPOINT;
            }
View Full Code Here

Examples of com.sun.enterprise.deployment.util.XModuleType

            }

            copyExtraFilesToGeneratedFolder(dc);
            BundleDescriptor bundle = webService.getBundleDescriptor();

            XModuleType moduleType = bundle.getModuleType();
            //only EAR, WAR and EJB archives could contain wsdl files for publish
            if (!(XModuleType.EAR.equals(moduleType) ||
                    XModuleType.WAR.equals(moduleType) ||
                    XModuleType.EJB.equals(moduleType))) {
                return publishedFiles;
View Full Code Here

Examples of com.sun.enterprise.deployment.util.XModuleType

     *
     * @param descriptor WebServices descriptor
     */
    public void check(Descriptor descriptor) throws Exception {
        ServiceReferenceDescriptor rootDescriptor = (ServiceReferenceDescriptor) descriptor;
        XModuleType moduleType = rootDescriptor.getBundleDescriptor()
                .getModuleType();
        if (moduleType == XModuleType.EJB)
            moduleName = Result.EJB;
        else if (moduleType == XModuleType.WAR)
            moduleName = Result.WEB;
View Full Code Here

Examples of com.sun.enterprise.deployment.util.XModuleType

        if(rootDD.isApplication()) {
            moduleName = Result.APP;
        } else {
            ModuleDescriptor mdesc =
                    BundleDescriptor.class.cast(rootDD).getModuleDescriptor();
            final XModuleType moduleType = mdesc.getModuleType();
            if(moduleType == XModuleType.EJB) {
                moduleName = Result.EJB;
            } else if (moduleType == XModuleType.WAR) {
                moduleName = Result.WEB;
            } else if (moduleType == XModuleType.CAR) {
View Full Code Here

Examples of com.sun.enterprise.deployment.util.XModuleType

     *
     * @param descriptor WebServices descriptor
     */
    public void check(Descriptor descriptor) throws Exception {
        WebServicesDescriptor rootDescriptor = (WebServicesDescriptor) descriptor;
        XModuleType moduleType = rootDescriptor.getBundleDescriptor()
                .getModuleType();
        if (moduleType == XModuleType.EJB)
            moduleName = Result.EJB;
        else if (moduleType == XModuleType.WAR)
            moduleName = Result.WEB;
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.