📄 masonresource.java
字号:
package com.buu.grid.hzk.mason.impl;
import org.globus.wsrf.*;
import org.globus.wsrf.security.*;
import org.globus.wsrf.impl.*;
import org.globus.wsrf.impl.security.*;
import org.globus.wsrf.impl.security.descriptor.*;
import org.globus.wsrf.config.ConfigException;
import com.buu.grid.hzk.mason.Mason;
public class MasonResource implements
Resource, ResourceIdentifier, ResourceProperties, MasonNamespaces
{
private ResourcePropertySet propSet;
private ResourceSecurityDescriptor securityDesc = null;
private Object key;
/**
*
* @generated
*/
private Mason mason;
/**
*
* @generated
*/
public Mason getAnnotatedService() {
return this.mason;
}
/**
*
* @modifiable-generated
*/
public ResourcePropertySet getResourcePropertySet() {
// begin-user-code
// end-user-code
return this.propSet;
}
/**
*
* @modifiable-generated
*/
public Object getID() {
// begin-user-code
// end-user-code
return this.key;
}
/**
*
* @modifiable-generated
*/
public Object create() throws Exception {
this.key = new Integer(hashCode());
initialize();
// begin-user-code
// end-user-code
return key;
}
/**
*
* @modifiable-generated
*/
public void initialize()
{
this.propSet = new SimpleResourcePropertySet(RESOURCE_PROPERTIES);
this.mason = new Mason();
try {
} catch (Exception e) {
throw new RuntimeException(e.getMessage());
}
// begin-user-code
// end-user-code
}
/**
* @generated
*/
public ResourceSecurityDescriptor getSecurityDescriptor() {
return this.securityDesc;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -