masonservice.java

来自「使用eclipse集成GT4插件环境」· Java 代码 · 共 120 行

JAVA
120
字号
 		 
package com.buu.grid.hzk.mason.impl;

import java.rmi.RemoteException;
import org.globus.wsrf.*;
import org.apache.axis.message.addressing.EndpointReferenceType;
import org.globus.wsrf.utils.AddressingUtils;
import com.buu.grid.hzk.mason.masonService.stubs.*;
import com.buu.grid.hzk.mason.impl.*;
import com.buu.grid.hzk.mason.Mason;
import de.fb12.utils.beanutils.Beanutils;
import org.globus.wsrf.impl.ResourceContextImpl;
import java.lang.reflect.InvocationTargetException;

public class MasonService {


	/**
	 *
	 * @generated
	 */
	private MasonResource getResource() throws RemoteException {
		Object resource = null;
		try {
			resource = ResourceContext.getResourceContext().getResource();
		} catch (Exception e) {
			throw new RemoteException("", e);
		}
		MasonResource res = (MasonResource)resource;
		return res;
	}

	/**
	 *
	 * @generated
	 */
	public GetAResponse getA(GetA complexType) throws RemoteException  {
		Mason mason = getResource().getAnnotatedService();

	

		GetAResponse response = new GetAResponse();
		
		response.setGetAReturn( mason.getA());
		return response;
	}

	/**
	 *
	 * @generated
	 */
	public SetAResponse setA(SetA complexType) throws RemoteException  {
		Mason mason = getResource().getAnnotatedService();

	

		SetAResponse response = new SetAResponse();
		mason.setA(complexType.getA());
		return response;
	}

	/**
	 *
	 * @generated
	 */
	public AddAResponse addA(AddA complexType) throws RemoteException  {
		Mason mason = getResource().getAnnotatedService();

	

		AddAResponse response = new AddAResponse();
		mason.addA(complexType.getA());
		return response;
	}

	/**
	 *
	 * @generated
	 */
	public TestlucasResponse testlucas(Testlucas complexType) throws RemoteException  {
		Mason mason = getResource().getAnnotatedService();

	

		TestlucasResponse response = new TestlucasResponse();
		mason.testlucas(complexType.getP());
		return response;
	}

	/**
	 *
	 * @generated
	 */
	public GetFResponse getF(GetF complexType) throws RemoteException  {
		Mason mason = getResource().getAnnotatedService();

	

		GetFResponse response = new GetFResponse();
		
		response.setGetFReturn( mason.getF());
		return response;
	}

	/**
	 *
	 * @generated
	 */
	public SetFResponse setF(SetF complexType) throws RemoteException  {
		Mason mason = getResource().getAnnotatedService();

	

		SetFResponse response = new SetFResponse();
		mason.setF(complexType.getF());
		return response;
	}

}
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?