New file |
| | |
| | | package com.dy.testServer; |
| | | |
| | | import com.dy.common.mw.channel.rmi.RmiConfigVo; |
| | | import com.dy.common.mw.channel.rmi.RmiRequestCallback; |
| | | import com.dy.common.mw.channel.rmi.RmiUnitAdapter; |
| | | import com.dy.testServer.forRmi.RmiRequestedCallback; |
| | | |
| | | public class AdapterImp_RmiUnit implements RmiUnitAdapter { |
| | | |
| | | private RmiConfigVo configVo ; |
| | | |
| | | @Override |
| | | public RmiConfigVo getConfig() { |
| | | return configVo; |
| | | } |
| | | |
| | | public void setConfig(RmiConfigVo configVo){ |
| | | this.configVo = configVo ; |
| | | } |
| | | |
| | | @Override |
| | | public RmiRequestCallback newRequestCallback() { |
| | | return new RmiRequestedCallback(); |
| | | } |
| | | |
| | | } |