| ExtendedEJBHomeMethod.java |
/* JFox, the OpenSource J2EE Application Server
*
* Copyright (C) 2002 huihoo.com
* Distributable under GNU LGPL license
* See the GNU Lesser General Public License for more details.
*/
package org.jfox.ejb;
import java.lang.reflect.Method;
import javax.ejb.EJBException;
/**
*
* @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
*/
public class ExtendedEJBHomeMethod {
public final static Method UseProtocol;
static {
try{
Class ejbHomeClass = ExtendedEJBHome.class;
UseProtocol = ejbHomeClass.getMethod("useProtocol",new Class[]{String.class});
}
catch(Exception e){
e.printStackTrace();
throw new EJBException(e);
}
};
public static void main(String[] args) {
}
}