mathresourcehome.java

来自「globus toolkit Math例子」· Java 代码 · 共 27 行

JAVA
27
字号
/* * This file is licensed under the terms of the Globus Toolkit Public License * v3, found at http://www.globus.org/toolkit/legal/4.0/license-v3.html. *  * This notice must appear in redistributions of this file, with or without * modification. */package org.globus.examples.services.security.first.impl;import org.globus.wsrf.Resource;import org.globus.wsrf.impl.SingletonResourceHome;public class MathResourceHome extends SingletonResourceHome {	public Resource findSingleton() {		try {			// Create a resource and initialize it.			MathResource mathResource = new MathResource();			mathResource.initialize();			return mathResource;		} catch (Exception e) {			e.printStackTrace();			return null;		}	}}

⌨️ 快捷键说明

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