📄 targetmetarequest.java
字号:
/*
* Copyright 2003-2005 the original author or authors.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package com.jdon.container.access;
import java.io.Serializable;
import com.jdon.bussinessproxy.TargetMetaDef;
import com.jdon.bussinessproxy.meta.MethodMetaArgs;
import com.jdon.container.visitor.ComponentVisitor;
import com.jdon.container.visitor.data.SessionContext;
/**
* Every container's user has one UserTargetMetaDef object
* this object is a DTO when this user enter businerss proxy.
* it reduce the method's parameters amount;
* it's scope is a instance for per request of one user ;
* TargetMetaDef object's scope is for a service for all users;
*
* @author <a href="mailto:banqiao@jdon.com">banq</a>
*
*/
public class TargetMetaRequest implements Serializable {
private TargetMetaDef targetMetaDef;
private MethodMetaArgs methodMetaArgs;
private String visitableName;
private ComponentVisitor componentVisitor;
private SessionContext sessionContext;
/**
* @param targetMetaDef
*/
public TargetMetaRequest(TargetMetaDef targetMetaDef) {
super();
this.targetMetaDef = targetMetaDef;
}
/**
* @return Returns the targetMetaDef.
*/
public TargetMetaDef getTargetMetaDef() {
return targetMetaDef;
}
/**
* @param targetMetaDef The targetMetaDef to set.
*/
public void setTargetMetaDef(TargetMetaDef targetMetaDef) {
this.targetMetaDef = targetMetaDef;
}
/**
* @return Returns the componentVisitor.
*/
public ComponentVisitor getComponentVisitor() {
return componentVisitor;
}
/**
* @param componentVisitor The componentVisitor to set.
*/
public void setComponentVisitor(ComponentVisitor componentVisitor) {
this.componentVisitor = componentVisitor;
}
public String getVisitableName() {
return this.visitableName;
}
public void setVisitableName(String visitableName) {
this.visitableName = visitableName;
}
/**
* @return Returns the methodMetaArgs.
*/
public MethodMetaArgs getMethodMetaArgs() {
return methodMetaArgs;
}
/**
* @param methodMetaArgs The methodMetaArgs to set.
*/
public void setMethodMetaArgs(MethodMetaArgs methodMetaArgs) {
this.methodMetaArgs = methodMetaArgs;
}
/**
* @return Returns the sessionContext.
*/
public SessionContext getSessionContext() {
return sessionContext;
}
/**
* @param sessionContext The sessionContext to set.
*/
public void setSessionContext(SessionContext sessionContext) {
this.sessionContext = sessionContext;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -