⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 workflowentryhomefactory.java

📁 osworkflow修改版本
💻 JAVA
字号:
/* * Copyright (c) 2002-2003 by OpenSymphony * All rights reserved. *//* * Generated file - Do not edit! */package com.opensymphony.workflow.spi.ejb;/** * Utility class for WorkflowEntry. * @author <a href="mailto:hani@formicary.net">Hani Suleiman</a> * @author <a href="mailto:plightbo@hotmail.com">Pat Lightbody</a> */public class WorkflowEntryHomeFactory {    //~ Static fields/initializers /////////////////////////////////////////////    public static final String COMP_NAME = "java:comp/env/ejb/WorkflowEntry";    public static final String JNDI_NAME = "WorkflowEntry";    /** Cached local home (EJBLocalHome). Uses lazy loading to obtain its value (loaded by getLocalHome() methods). */    private static com.opensymphony.workflow.spi.ejb.WorkflowEntryLocalHome cachedLocalHome = null;    //~ Methods ////////////////////////////////////////////////////////////////    // Home interface lookup methods    /**     * Obtain local home interface from default initial context     * @return Local home interface for WorkflowEntry. Lookup using COMP_NAME     */    public static com.opensymphony.workflow.spi.ejb.WorkflowEntryLocalHome 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.WorkflowEntryLocalHome) initialContext.lookup(com.opensymphony.workflow.spi.ejb.WorkflowEntryLocalHome.COMP_NAME);            } finally {                initialContext.close();            }        }        return cachedLocalHome;    }}

⌨️ 快捷键说明

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