📄 currentstepprevhomefactory.java
字号:
/* * Copyright (c) 2002-2003 by OpenSymphony * All rights reserved. *//* * Generated file - Do not edit! */package com.opensymphony.workflow.spi.ejb;/** * Utility class for CurrentStepPrev. * @author Hani Suleiman (hani@formicary.net) Date: Apr 7, 2003 Time: 8:17:26 PM */public class CurrentStepPrevHomeFactory { //~ Static fields/initializers ///////////////////////////////////////////// public static final String COMP_NAME = "java:comp/env/ejb/CurrentStepPrev"; public static final String JNDI_NAME = "CurrentStepPrev"; /** Cached local home (EJBLocalHome). Uses lazy loading to obtain its value (loaded by getLocalHome() methods). */ private static com.opensymphony.workflow.spi.ejb.CurrentStepPrevLocalHome cachedLocalHome = null; //~ Methods //////////////////////////////////////////////////////////////// // Home interface lookup methods /** * Obtain local home interface from default initial context * @return Local home interface for CurrentStepPrev. Lookup using COMP_NAME */ public static com.opensymphony.workflow.spi.ejb.CurrentStepPrevLocalHome getLocalHome() throws javax.naming.NamingException { // Local homes shouldn't be narrowed, as there is no RMI involved. if (cachedLocalHome == null) { // Obtain initial context javax.naming.InitialContext initialContext = new javax.naming.InitialContext(); try { cachedLocalHome = (com.opensymphony.workflow.spi.ejb.CurrentStepPrevLocalHome) initialContext.lookup(com.opensymphony.workflow.spi.ejb.CurrentStepPrevLocalHome.COMP_NAME); } finally { initialContext.close(); } } return cachedLocalHome; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -