ejbdestination.java

来自「快速FLEX+J2EE开发工具。具体自动生成功能代码功能。」· Java 代码 · 共 59 行

JAVA
59
字号
/*
 * Copyright 2008 [CompanyName], Inc. All rights reserved.
 * Website: http://www.pomer.org.cn/
 */
package cn.org.pomer.flex.remoting.services;

/**
 * 
 * 描述ejb为远程对象
 * 
 * @author Linlin Yu
 * 
 */
public class EJBDestination {
	private String romoteObjectID;
	private String serverUrl;
	private String ejbName;

	public EJBDestination(String romoteObjectID, String serverUrl,
			String ejbName) {
		super();
		this.romoteObjectID = romoteObjectID;
		this.serverUrl = serverUrl;
		this.ejbName = ejbName;
	}

	public EJBDestination(String romoteObjectID, String ejbName) {
		super();
		this.romoteObjectID = romoteObjectID;
		this.serverUrl = "jnp://localhost:1099";
		this.ejbName = ejbName;
	}

	public String getRomoteObjectID() {
		return romoteObjectID;
	}

	public void setRomoteObjectID(String romoteObjectID) {
		this.romoteObjectID = romoteObjectID;
	}

	public String getServerUrl() {
		return serverUrl;
	}

	public void setServerUrl(String serverUrl) {
		this.serverUrl = serverUrl;
	}

	public String getEjbName() {
		return ejbName;
	}

	public void setEjbName(String ejbName) {
		this.ejbName = ejbName;
	}

}

⌨️ 快捷键说明

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