sbusinessexample16bean.java

来自「《精通Spring》源代码」· Java 代码 · 共 29 行

JAVA
29
字号
/*
 * Created on 2004-11-13
 * 
 * http://www.open-v.com 提供代码的维护工作
 */
package com.openv.spring;

import javax.ejb.CreateException;

import org.springframework.ejb.support.AbstractStatelessSessionBean;

/**
 * SBusinessExample16Bean无状态会话Bean的Bean类
 * 
 * @author luoshifei
 */
public class SBusinessExample16Bean extends AbstractStatelessSessionBean
        implements ISBusinessExample16 {
    private ISBusinessExample16 sbe;

    protected void onEjbCreate() throws CreateException {
        sbe = (ISBusinessExample16) getBeanFactory().getBean("sbe16");
    }

    public String getStr(String args) {
        return sbe.getStr(args);
    }

}

⌨️ 快捷键说明

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