Package org.ogce.schemas.gfac.documents

Examples of org.ogce.schemas.gfac.documents.ServiceMapType


        return registerServiceMapFromStr(registryService, GfacUtils.readFile(serviceMapFile));
    }

    public static String createAwsdl4ServiceMap(String serviceMapAsStr) throws GfacException {
        try {
            ServiceMapType serviceMap = ServiceMapDocument.Factory.parse(serviceMapAsStr)
                    .getServiceMap();
           // FIXME: Already validated when you create service map.
            SchemaValidator validator = new SchemaValidator(serviceMap);
            validator.validate();
            QName serviceQname = new QName(serviceMap.getService().getServiceName()
                    .getTargetNamespace(), serviceMap.getService().getServiceName().getStringValue());
            WSDLGenerator wsdlGenerator = new WSDLGenerator();
            Hashtable serviceTable = wsdlGenerator.generateWSDL(null, serviceQname, null, serviceMap,
                    true);
            String wsdl = (String) serviceTable.get(WSDLConstants.AWSDL);
            return wsdl;
View Full Code Here


    }

    public static QName registerServiceMapFromStr(RegistryService registryService,
            String serviceMapAsStr) throws GfacException {
        try {
            ServiceMapType serviceMap = ServiceMapDocument.Factory.parse(serviceMapAsStr)
                    .getServiceMap();
            SchemaValidator validator = new SchemaValidator(serviceMap);
            validator.validate();
            QName serviceQname = new QName(serviceMap.getService().getServiceName()
                    .getTargetNamespace(), serviceMap.getService().getServiceName()
                    .getStringValue());
            WSDLGenerator wsdlGenerator = new WSDLGenerator();
            Hashtable serviceTable = wsdlGenerator.generateWSDL(null, serviceQname, null,
                    serviceMap, true);
            String wsdl = (String) serviceTable.get(WSDLConstants.AWSDL);
View Full Code Here

    public static QName removeServiceMap(RegistryService registryService, String serviceMapFile)
            throws GfacException {
        try {
            String serviceMapAsStr = GfacUtils.readFile(serviceMapFile);
            ServiceMapType serviceMap = ServiceMapDocument.Factory.parse(serviceMapAsStr)
                    .getServiceMap();

            QName serviceQname = new QName(serviceMap.getService().getServiceName()
                    .getTargetNamespace(), serviceMap.getService().getServiceName()
                    .getStringValue());

            registryService.removeServiceMap(serviceQname.toString());
            return serviceQname;
        } catch (XmlException e) {
View Full Code Here

    if (!name.startsWith("{")) {
      stringQName = new QName(bean.getObjectNamespace(), name).toString();
    } else {
      stringQName = name;
    }
    ServiceMapType serviceMapType = DescriptionUtils.getServiceMapDocument(regService, stringQName);

    if (serviceMapType.getLifeTime() != null) {
      notAfterInactiveMinutes = serviceMapType.getLifeTime().getNotAfterInactiveMinutes();
    }
    MethodType method = GfacUtils.findOperationWithApplication(serviceMapType);
    ApplicationType appType = method.getApplication();
    ApplicationName appxbeanName = method.getApplication().getApplicationName();
    String appName = new QName(appxbeanName.getTargetNamespace(), appxbeanName.getStringValue()).toString();
    MethodBean methodBean = new MethodBean(method.getMethodName(), method.getMethodDescription(),
        method.isSetStageOutputDataFiles(), method.isSetForceFileStagingToWorkDir(),
        appType.isSetUseLEADNameListFile(), appType.isSetUseLEADNameListPropertiesFile());

    // Done to convert the parameter type of enum to string which was not
    // possible in JSF selectOneListbox. For inputText it works without
    // doing this change
    InputParameterType[] inputparams = method.getInputParameterArray();
    ServiceParam[] inparam = new ServiceParam[inputparams.length];

    for (int i = 0; i < inputparams.length; i++) {
      inparam[i] = new ServiceParam();
      InputParameterType inputParameterType = inputparams[i];
      inparam[i].paramName = inputParameterType.getParameterName();
      inparam[i].paramDesc = inputParameterType.getParameterDescription();
      inparam[i].paramValue = inputParameterType.getParameterType().toString();

    }
    // Done to convert the parameter type of enum to string which was not
    // possible in JSF selectOneListbox. For inputText it works without
    // doing this change
    OutputParameterType[] outparams = method.getOutputParameterArray();
    ServiceParam[] outparam = new ServiceParam[outparams.length];
    for (int i = 0; i < outparams.length; i++) {
      outparam[i] = new ServiceParam();
      OutputParameterType outputParameterType = outparams[i];
      outparam[i].paramName = outputParameterType.getParameterName();
      outparam[i].paramDesc = outputParameterType.getParameterDescription();
      outparam[i].paramValue = outputParameterType.getParameterType().toString();
    }

    bean.setOutputParam(outparams);
    bean.setInputPrm(inparam);
    bean.setOutPrm(outparam);
    bean.setServiceName(name);
    bean.setApplicationName(appxbeanName.getStringValue());
    bean.setNotAfterInactiveMinutes(notAfterInactiveMinutes);
    bean.setMethodBean(methodBean);
    bean.setObjectNamespace(serviceMapType.getService().getServiceName().getTargetNamespace());

    return bean;
  }
View Full Code Here

   * @throws GfacException
   */
  private static String serviceXMLRequest(RegistryService regService, ServiceBean serviceInfo,
      ServiceMapDocument template) throws GfacException {
    ServiceMapDocument smd;
    ServiceMapType smt;
    ServiceType st;

    if (template != null) {
      smd = template;
      smt = smd.getServiceMap();
      st = smt.getService();
    } else {
      smd = ServiceMapDocument.Factory.newInstance();
      smt = smd.addNewServiceMap();
      st = smt.addNewService();
    }

    QName serviceName;
    if (serviceInfo.getServiceName().startsWith("{")) {
      serviceName = QName.valueOf(serviceInfo.getServiceName().trim());
    } else {
      serviceName = new QName(serviceInfo.getObjectNamespace(), serviceInfo.getServiceName().trim());
    }

    ServiceName sn = st.getServiceName();
    if (sn == null) {
      sn = st.addNewServiceName();
      ;
    }
    sn.setStringValue(serviceName.getLocalPart());
    sn.setTargetNamespace(serviceInfo.getObjectNamespace());

    PortTypeType pt;
    if (smt.getPortTypeArray() != null && smt.getPortTypeArray().length > 0) {
      pt = smt.getPortTypeArray(0);
    } else {
      pt = smt.addNewPortType();
    }

    ArrayList<Object> operations = serviceInfo.getOperations();

    for (int i = 0; i < operations.size(); i++) {
      MethodBean op = (MethodBean) operations.get(i);

      if (op == null) {
        throw new GfacException("Operation can not be Null", FaultCode.InvaliedLocalArgumnet);
      }

      MethodType[] methods = pt.getMethodArray();
      MethodType method = null;
      if (methods != null) {
        for (MethodType oldMethod : methods) {
          if (op.getMethodName().equals(oldMethod.getMethodName())) {
            method = oldMethod;
          }
        }
      }
      if (method == null) {
        method = pt.addNewMethod();
      }
      method.setMethodName(op.getMethodName());
      method.setMethodDescription(op.getMethodDescription());
      ApplicationType appType = method.getApplication();
      if (appType == null) {
        appType = method.addNewApplication();
      }
      appType.setParamValuesOnly(true);
      ApplicationName appNameType = appType.getApplicationName();
      if (appNameType == null) {
        appNameType = appType.addNewApplicationName();
      }
      QName appName = new QName(serviceInfo.getObjectNamespace(), serviceInfo.getApplicationName());
      appNameType.setStringValue(appName.getLocalPart());
      appNameType.setTargetNamespace(appName.getNamespaceURI());
      appType.setApplicationDescription(op.getMethodDescription());

      // Boolean parameters from Service screen
      if (op.isStageOutputDataFiles()) {
        method.setStageOutputDataFiles(true);
      }

      if (op.isForceFileStagingToWorkDir()) {
        method.setForceFileStagingToWorkDir(true);
      }

      if (op.isUseLEADNameListFile()) {
        appType.setUseLEADNameListFile(true);
      }

      if (op.isUseLEADNameListPropertiesFile()) {
        appType.setUseLEADNameListPropertiesFile(true);
      }

      InputParameterType[] inputs = method.getInputParameterArray();
      HashMap<String, InputParameterType> inputMap = new HashMap<String, InputParameterType>();
      if (inputs != null) {
        for (InputParameterType inputParameterType : inputs) {
          inputMap.put(inputParameterType.getParameterName(), inputParameterType);
        }
      }

      OutputParameterType[] outputs = method.getOutputParameterArray();
      HashMap<String, OutputParameterType> outputMap = new HashMap<String, OutputParameterType>();
      if (inputs != null) {
        for (OutputParameterType outputParameterType : outputs) {
          outputMap.put(outputParameterType.getParameterName(), outputParameterType);
        }
      }

      ArrayList<ParamObject> inputparams = op.getInputParms();
      for (int y = 0; y < inputparams.size(); y++) {
        ParamObject param = (ParamObject) inputparams.get(y);
        InputParameterType inputParm = inputMap.get(param.getName());
        if (inputParm == null) {
          inputParm = method.addNewInputParameter();
        }
        inputParm.setParameterName(param.getName());
        inputParm.setParameterDescription(param.getDesc());
        InputDataType.Enum type = InputDataType.Enum.forString(param.getType());
        inputParm.setParameterType(type);
      }

      ArrayList<ParamObject> outputparams = op.getOutputParms();
      for (int y = 0; y < outputparams.size(); y++) {
        ParamObject param = (ParamObject) outputparams.get(y);
        OutputParameterType outputParm = outputMap.get(param.getName());
        if (outputParm == null) {
          outputParm = method.addNewOutputParameter();
        }
        outputParm.setParameterName(param.getName());
        outputParm.setParameterDescription(param.getDesc());
        OutputDataType.Enum type = OutputDataType.Enum.forString(param.getType());
        outputParm.setParameterType(type);
      }
    }

    if (serviceInfo.getNotAfterInactiveMinutes() != 0) {
      if (smt.getLifeTime() == null) {
        smt.addNewLifeTime().setNotAfterInactiveMinutes(serviceInfo.getNotAfterInactiveMinutes());
      } else {
        smt.getLifeTime().setNotAfterInactiveMinutes(serviceInfo.getNotAfterInactiveMinutes());
      }
    }
    return smd.xmlText();

  }
View Full Code Here

  }

  public static String simpleServiceXMLRequest(ServiceBean serviceInfo) throws GfacException {
    ServiceMapDocument smd;
    ServiceMapType smt;
    ServiceType st;

    smd = ServiceMapDocument.Factory.newInstance();
    smt = smd.addNewServiceMap();
    st = smt.addNewService();

    QName serviceName;
    if (serviceInfo.getServiceName().startsWith("{")) {
      serviceName = QName.valueOf(serviceInfo.getServiceName().trim());
    } else {
      serviceName = new QName(serviceInfo.getObjectNamespace(), serviceInfo.getServiceName().trim());
    }

    ServiceName sn = st.getServiceName();
    if (sn == null) {
      sn = st.addNewServiceName();
      ;
    }
    sn.setStringValue(serviceName.getLocalPart());
    sn.setTargetNamespace(serviceInfo.getObjectNamespace());

    PortTypeType pt;
    if (smt.getPortTypeArray() != null && smt.getPortTypeArray().length > 0) {
      pt = smt.getPortTypeArray(0);
    } else {
      pt = smt.addNewPortType();
    }

    ArrayList<Object> operations = serviceInfo.getOperations();

    for (int i = 0; i < operations.size(); i++) {
      MethodBean op = (MethodBean) operations.get(i);

      if (op == null) {
        throw new GfacException("Operation can not be Null", FaultCode.InvaliedLocalArgumnet);
      }

      MethodType[] methods = pt.getMethodArray();
      MethodType method = null;
      if (methods != null) {
        for (MethodType oldMethod : methods) {
          if (op.getMethodName().equals(oldMethod.getMethodName())) {
            method = oldMethod;
          }
        }
      }
      if (method == null) {
        method = pt.addNewMethod();
      }
      method.setMethodName(op.getMethodName());
      method.setMethodDescription(op.getMethodDescription());
      ApplicationType appType = method.getApplication();
      if (appType == null) {
        appType = method.addNewApplication();
      }
      appType.setParamValuesOnly(true);
      ApplicationName appNameType = appType.getApplicationName();
      if (appNameType == null) {
        appNameType = appType.addNewApplicationName();
      }
      QName appName = new QName(serviceInfo.getObjectNamespace(), serviceInfo.getApplicationName());
      appNameType.setStringValue(appName.getLocalPart());
      appNameType.setTargetNamespace(appName.getNamespaceURI());
      appType.setApplicationDescription(op.getMethodDescription());

      // Boolean parameters from Service screen
      if (op.isStageOutputDataFiles()) {
        method.setStageOutputDataFiles(true);
      }

      if (op.isForceFileStagingToWorkDir()) {
        method.setForceFileStagingToWorkDir(true);
      }

      if (op.isUseLEADNameListFile()) {
        appType.setUseLEADNameListFile(true);
      }

      if (op.isUseLEADNameListPropertiesFile()) {
        appType.setUseLEADNameListPropertiesFile(true);
      }

      InputParameterType[] inputs = method.getInputParameterArray();
      HashMap<String, InputParameterType> inputMap = new HashMap<String, InputParameterType>();
      if (inputs != null) {
        for (InputParameterType inputParameterType : inputs) {
          inputMap.put(inputParameterType.getParameterName(), inputParameterType);
        }
      }

      OutputParameterType[] outputs = method.getOutputParameterArray();
      HashMap<String, OutputParameterType> outputMap = new HashMap<String, OutputParameterType>();
      if (inputs != null) {
        for (OutputParameterType outputParameterType : outputs) {
          outputMap.put(outputParameterType.getParameterName(), outputParameterType);
        }
      }

      ArrayList<ParamObject> inputparams = op.getInputParms();
      for (int y = 0; y < inputparams.size(); y++) {
        ParamObject param = (ParamObject) inputparams.get(y);
        InputParameterType inputParm = inputMap.get(param.getName());
        if (inputParm == null) {
          inputParm = method.addNewInputParameter();
        }
        inputParm.setParameterName(param.getName());
        inputParm.setParameterDescription(param.getDesc());
        InputDataType.Enum type = InputDataType.Enum.forString(param.getType());
        inputParm.setParameterType(type);
      }

      ArrayList<ParamObject> outputparams = op.getOutputParms();
      for (int y = 0; y < outputparams.size(); y++) {
        ParamObject param = (ParamObject) outputparams.get(y);
        OutputParameterType outputParm = outputMap.get(param.getName());
        if (outputParm == null) {
          outputParm = method.addNewOutputParameter();
        }
        outputParm.setParameterName(param.getName());
        outputParm.setParameterDescription(param.getDesc());
        OutputDataType.Enum type = OutputDataType.Enum.forString(param.getType());
        outputParm.setParameterType(type);
      }
    }

    if (serviceInfo.getNotAfterInactiveMinutes() != 0) {
      if (smt.getLifeTime() == null) {
        smt.addNewLifeTime().setNotAfterInactiveMinutes(serviceInfo.getNotAfterInactiveMinutes());
      } else {
        smt.getLifeTime().setNotAfterInactiveMinutes(serviceInfo.getNotAfterInactiveMinutes());
      }
    }
    return smd.xmlText();

  }
View Full Code Here

  public static String simpleServiceXMLRequest(ServiceBean serviceInfo)
      throws GFacSchemaException {

    ServiceMapDocument serviceMapDocument = ServiceMapDocument.Factory
        .newInstance();
    ServiceMapType serviceMapType = serviceMapDocument.addNewServiceMap();
    ServiceType serviceType = serviceMapType.addNewService();
    serviceType.setServiceDescription(serviceInfo.getServiceDescription());

    QName serviceQName;
    if (serviceInfo.getServiceName().startsWith("{")) {
      serviceQName = QName.valueOf(serviceInfo.getServiceName().trim());
    } else {
      serviceQName = new QName(serviceInfo.getObjectNamespace(),
          serviceInfo.getServiceName().trim());
    }

    ServiceName serviceName = serviceType.getServiceName();
    if (serviceName == null) {
      serviceName = serviceType.addNewServiceName();
      ;
    }
    serviceName.setStringValue(serviceQName.getLocalPart());
    serviceName.setTargetNamespace(serviceInfo.getObjectNamespace());

    PortTypeType pt;
    if (serviceMapType.getPortTypeArray() != null
        && serviceMapType.getPortTypeArray().length > 0) {
      pt = serviceMapType.getPortTypeArray(0);
    } else {
      pt = serviceMapType.addNewPortType();
    }

    // ArrayList<MethodBean> operations = serviceInfo.getOperations();
    List<MethodBean> operations = new ArrayList<MethodBean>();
    operations.add(serviceInfo.getMethodBean());

    for (int i = 0; i < operations.size(); i++) {
      MethodBean op = (MethodBean) operations.get(i);

      if (op == null) {
        throw new GFacSchemaException("Operation can not be Null");
      }

      MethodType[] methods = pt.getMethodArray();
      MethodType method = null;
      if (methods != null) {
        for (MethodType oldMethod : methods) {
          if (op.getMethodName().equals(oldMethod.getMethodName())) {
            method = oldMethod;
          }
        }
      }
      if (method == null) {
        method = pt.addNewMethod();
      }
      method.setMethodName(op.getMethodName());
      method.setMethodDescription(op.getMethodDescription());
      ApplicationType appType = method.getApplication();
      if (appType == null) {
        appType = method.addNewApplication();
      }
      appType.setParamValuesOnly(true);
      ApplicationName appNameType = appType.getApplicationName();
      if (appNameType == null) {
        appNameType = appType.addNewApplicationName();
      }
      QName appName = new QName(serviceInfo.getObjectNamespace(),
          serviceInfo.getApplicationName());
      appNameType.setStringValue(appName.getLocalPart());
      appNameType.setTargetNamespace(appName.getNamespaceURI());
      appType.setApplicationDescription(op.getMethodDescription());

      // Boolean parameters from Service screen
      if (op.isStageOutputDataFiles()) {
        method.setStageOutputDataFiles(true);
      }

      if (op.isForceFileStagingToWorkDir()) {
        method.setForceFileStagingToWorkDir(true);
      }

      if (op.isUseLEADNameListFile()) {
        appType.setUseLEADNameListFile(true);
      }

      if (op.isUseLEADNameListPropertiesFile()) {
        appType.setUseLEADNameListPropertiesFile(true);
      }

      InputParameterType[] inputs = method.getInputParameterArray();
      HashMap<String, InputParameterType> inputMap = new HashMap<String, InputParameterType>();
      if (inputs != null) {
        for (InputParameterType inputParameterType : inputs) {
          inputMap.put(inputParameterType.getParameterName(),
              inputParameterType);
        }
      }

      OutputParameterType[] outputs = method.getOutputParameterArray();
      HashMap<String, OutputParameterType> outputMap = new HashMap<String, OutputParameterType>();
      if (inputs != null) {
        for (OutputParameterType outputParameterType : outputs) {
          outputMap.put(outputParameterType.getParameterName(),
              outputParameterType);
        }
      }

      ArrayList<ParamObject> inputparams = op.getInputParms();
      for (int y = 0; y < inputparams.size(); y++) {
        ParamObject param = (ParamObject) inputparams.get(y);
        InputParameterType inputParm = inputMap.get(param.getName());
        if (inputParm == null) {
          inputParm = method.addNewInputParameter();
        }
        inputParm.setParameterName(param.getName());
        inputParm.setParameterDescription(param.getDesc());
        InputDataType.Enum type = InputDataType.Enum.forString(param
            .getType());
        inputParm.setParameterType(type);
      }

      ArrayList<ParamObject> outputparams = op.getOutputParms();
      for (int y = 0; y < outputparams.size(); y++) {
        ParamObject param = (ParamObject) outputparams.get(y);
        OutputParameterType outputParm = outputMap.get(param.getName());
        if (outputParm == null) {
          outputParm = method.addNewOutputParameter();
        }
        outputParm.setParameterName(param.getName());
        outputParm.setParameterDescription(param.getDesc());
        OutputDataType.Enum type = OutputDataType.Enum.forString(param
            .getType());
        outputParm.setParameterType(type);
      }
    }

    if (serviceInfo.getNotAfterInactiveMinutes() != 0) {
      if (serviceMapType.getLifeTime() == null) {
        serviceMapType.addNewLifeTime().setNotAfterInactiveMinutes(
            serviceInfo.getNotAfterInactiveMinutes());
      } else {
        serviceMapType.getLifeTime().setNotAfterInactiveMinutes(
            serviceInfo.getNotAfterInactiveMinutes());
      }
    }
   
    SchemaValidator validator = new SchemaValidator(serviceMapType);
View Full Code Here

    int notAfterInactiveMinutes = 15;

    ServiceBean serviceBean = new ServiceBean();
    ServiceMapDocument serviceMapDocument = ServiceMapDocument.Factory
        .parse(new StringReader(serviceMapStr));
    ServiceMapType serviceMapType = serviceMapDocument.getServiceMap();
    ServiceType serviceType = serviceMapType.getService();
    serviceBean.setServiceDescription(serviceType.getServiceDescription());

    if (serviceMapType.getLifeTime() != null) {
      notAfterInactiveMinutes = serviceMapType.getLifeTime()
          .getNotAfterInactiveMinutes();
    }
    MethodType method = findOperationWithApplication(serviceMapType);
    ApplicationType appType = method.getApplication();
    ApplicationName appxbeanName = method.getApplication()
        .getApplicationName();
    String appName = new QName(appxbeanName.getTargetNamespace(),
        appxbeanName.getStringValue()).toString();
    MethodBean methodBean = new MethodBean(method.getMethodName(), method
        .getMethodDescription(), method.isSetStageOutputDataFiles(),
        method.isSetForceFileStagingToWorkDir(), appType
            .isSetUseLEADNameListFile(), appType
            .isSetUseLEADNameListPropertiesFile());

    InputParameterType[] inputparams = method.getInputParameterArray();
    for (int index = 0; index < inputparams.length; index++) {

      InputParameterType inputParameterType = inputparams[index];
      methodBean.addInputParms(new ParamObject(inputParameterType
          .getParameterName(), inputParameterType.getParameterType()
          .toString(), index, inputParameterType
          .getParameterDescription()));

    }

    OutputParameterType[] outparams = method.getOutputParameterArray();
    for (int index = 0; index < outparams.length; index++) {

      OutputParameterType outputParameterType = outparams[index];
      methodBean.addOutputParms(new ParamObject(outputParameterType
          .getParameterName(), outputParameterType.getParameterType()
          .toString(), index, outputParameterType
          .getParameterDescription()));

    }

    serviceBean.setApplicationName(appName);
    serviceBean.setServiceName(serviceMapType.getService().getServiceName()
        .getStringValue());
    serviceBean.setApplicationName(appxbeanName.getStringValue());
    serviceBean.setNotAfterInactiveMinutes(notAfterInactiveMinutes);
    serviceBean.setMethodBean(methodBean);
    serviceBean.setObjectNamespace(serviceMapType.getService()
        .getServiceName().getTargetNamespace());

    return serviceBean;
  }
View Full Code Here

    return serviceBean;
  }
 
  public static String createAwsdl4ServiceMap(String serviceMapAsStr) throws GFacSchemaException {
        try {
            ServiceMapType serviceMap = ServiceMapDocument.Factory.parse(serviceMapAsStr)
                    .getServiceMap();
          
            QName serviceQname = new QName(serviceMap.getService().getServiceName()
                    .getTargetNamespace(), serviceMap.getService().getServiceName().getStringValue());
            WSDLGenerator wsdlGenerator = new WSDLGenerator();
            Hashtable serviceTable = wsdlGenerator.generateWSDL(null, serviceQname, null, serviceMap,
                    true);
            String wsdl = (String) serviceTable.get(WSDLConstants.AWSDL);
            return wsdl;
View Full Code Here

                ApplicationUtils.createObject(context.getRegService(), sb.toString());
                ApplicationDescriptionType appType = ApplicationDescriptionDocument.Factory.parse(sb.toString()).getApplicationDescription();
                documentName = appType.getApplicationName().getStringValue();
                }else if(documentType.equals(ServiceConstants.SEARCH_SERVICE)){
                ServiceUtils.createObject(context.getRegService(), sb.toString());
                ServiceMapType serviceMap =  ServiceMapDocument.Factory.parse(sb.toString()).getServiceMap();
                documentName = serviceMap.getService().getServiceName().getStringValue();
                }else{
                  throw new Exception("Document type passed '" + documentType + "' is not valid");
                }
                return ServiceConstants.SUCCESS_STATUS;
            } catch (Exception e) {
View Full Code Here

TOP

Related Classes of org.ogce.schemas.gfac.documents.ServiceMapType

Copyright © 2018 www.massapicom. 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.