Directional.java
589 Bytes
package com.ui.model;
/**
* 用户登录定向Url
* @author hui.xu
*
*/
public class Directional {
private Directional() {
}
/**
* 类初始化时就已经实例化,以后就不会变化
*/
private static final Directional singleton = new Directional();
/**
* 静态工厂方法
*
* @return
*/
public static Directional getInstance() {
return singleton;
}
private String loginTargetUrl;
public String getLoginTargetUrl() {
return loginTargetUrl;
}
public void setLoginTargetUrl(String loginTargetUrl) {
this.loginTargetUrl = loginTargetUrl;
}
}