📄 distributedtargetmetadef.java
字号:
package com.jdon.bussinessproxy.meta;
/**
* EJB3 simple Distributed Object
* @author banq
*
*/
public class DistributedTargetMetaDef extends AbstractTargetMetaDef{
protected String jndiName;
protected String name;
private String interfaceClass;
public DistributedTargetMetaDef(String name, String jndiName) {
this.name = name;
this.jndiName = jndiName;
}
public DistributedTargetMetaDef(String name, String jndiName, String interfaceClass) {
this.name = name;
this.jndiName = jndiName;
this.interfaceClass = interfaceClass;
}
public String getJndiName() {
return jndiName;
}
public void setJndiName(String jndiName) {
this.jndiName = jndiName;
}
/**
* jndiName作为EJB的key
* @return String
*/
public String getCacheKey() {
return jndiName;
}
/**
* @return Returns the name.
*/
public String getName() {
return name;
}
/**
* @param name
* The name to set.
*/
public void setName(String name) {
this.name = name;
}
public boolean isEJB() {
return true;
}
/**
* EJB3 class is same as interface Class
*/
public String getClassName() {
return interfaceClass;
}
/**
* @return Returns the interfaceClass.
*/
public String getInterfaceClass() {
return interfaceClass;
}
/**
* @param interfaceClass
* The interfaceClass to set.
*/
public void setInterfaceClass(String interfaceClass) {
this.interfaceClass = interfaceClass;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -