亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? geometryfacadebean.java

?? Postgis是Postgres的Gis空間引擎,支持空間索引和空間操作,擴展了很多空間類型
?? JAVA
字號:
/* * GeometryFacadeBean.java * * Using PostGIS Geometry Types with EJB2 - Proof of Concept * * Copyright 2006, Geodetix S.r.l. (http://www.geodetix.it) * and individual contributors as indicated by the @authors tag. * * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 2.1 of the License. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. * * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or visit the web at * http://www.gnu.org. * */package com.geodetix.geo.ejb;import com.geodetix.geo.exception.ApplicationGeoLayerException;import com.geodetix.geo.interfaces.GeometryLocalHome;import com.geodetix.geo.interfaces.GeometryLocal;import com.geodetix.geo.util.GeometryUtil;import com.geodetix.geo.value.GeometryValue;import org.apache.commons.logging.*;import org.postgis.*;import java.rmi.*;import java.util.*;import javax.ejb.*;import javax.naming.*;/** * A SessionFacade for managing Geometry beans. * * @ejb.bean *     name="GeometryFacade" *     jndi-name="geodetix/geo/GeometryFacade" *     local-jndi-name="geodetix/geo/GeometryFacadeLocal" *     type="Stateless" *     view-type="both" *     transaction-type="Container" * * @ejb.ejb-ref *     ejb-name="Geometry" *     view-type="local" *     ref-name="ejb/GeometryLocal" * * @author  <a href="mailto:antonio.pace@geodetix.it">Antonio Pace</a> */public abstract class GeometryFacadeBean implements SessionBean {    private SessionContext ctx;            /**     * EJB Initializer.     *     * @ejb.create-method     */    public void ejbCreate() throws CreateException {}        /**     * Called after the EJB creation.     */    public void ejbPostCreate() throws CreateException {}        /**     * Save the EJB session context.     */    public void setSessionContext(SessionContext ctx)    throws EJBException, RemoteException {        this.ctx = ctx;    }                  /* ============ Finder Methods ============== */        /**     * Find all of the geometry beans contained in a <code>Polygon</code>.     *     * @ejb.interface-method     *     * @param polygon The Polygon to search in.     */    public Collection findByPolygon(org.postgis.Polygon polygon)    throws ApplicationGeoLayerException {        try {            GeometryLocalHome geometryHome = GeometryUtil.getLocalHome();            Collection       geometries    = geometryHome.findByPolygon(polygon);                        List result = new ArrayList();                        for (Iterator iter = geometries.iterator(); iter.hasNext(); ) {                GeometryLocal geometry = (GeometryLocal) iter.next();                                result.add(geometry.getGeometryValue());            }                        return result;                    } catch (NamingException e) {            throw new ApplicationGeoLayerException(e);        } catch (FinderException e) {            throw new ApplicationGeoLayerException(e);        }    }                        /* =============== Business Iinterfaces Methods ============= */            /**     * Creates a new Geometry Bean.     *     * @ejb.interface-method     *     * @param geometry the <code>org.postgis.Geometry</code> that has to be      * included in this EJB.     * @param description the textual description of this bean.     * @return a value object representing the created EJB.     */    public GeometryValue createGeometry(org.postgis.Geometry geometry, String description)    throws ApplicationGeoLayerException {        try {            GeometryLocalHome geometryHome  = GeometryUtil.getLocalHome();            GeometryLocal     geometryLocal =                    geometryHome.create(geometry,description);                        return geometryLocal.getGeometryValue();        } catch (NamingException e) {            throw new ApplicationGeoLayerException(e);        } catch (CreateException e) {            throw new ApplicationGeoLayerException(e);        }    }                        /* ================== BMP Utility Methods ================= */                /**     * Create a non-OpenGIS DataBase table used to persist the Geometry Beans.     * <em>Note that in a real-world application this method should be protected     * by using a role-based security policy.</em>     *     * @ejb.interface-method     *     * @throws ApplicationGeoLayerException thrown if an error occours      * during table creation.     */    public void createGeometryTable() throws ApplicationGeoLayerException {        try {            GeometryLocalHome geometryHome = GeometryUtil.getLocalHome();                        geometryHome.makeDbTable();        } catch (NamingException e) {            throw new ApplicationGeoLayerException(e);        } catch (Exception e) {            throw new ApplicationGeoLayerException(e);        }    }            /**     * Create an OpenGIS compliant database table used to persist the      * Geometry Beans.     * <em>Note that in a real-world application this method should be protected     * by using a role-based security policy.</em>     *     * @ejb.interface-method     *     * @throws ApplicationGeoLayerException thrown if an error occours      * during table creation.     */    public void createGeometryTable(String gemetryType, int srid, int geometryDimension )    throws ApplicationGeoLayerException {        try {            GeometryLocalHome geometryHome = GeometryUtil.getLocalHome();                        geometryHome.makeDbTable(gemetryType, srid,  geometryDimension);                    } catch (NamingException e) {            throw new ApplicationGeoLayerException(e);        } catch (Exception e) {            throw new ApplicationGeoLayerException(e);        }    }                /**     * Remove the EJB's persistence table from the database.     * <em>Note that in a real-world application this method should be protected     * by using a role-based security policy.</em>     *     * @ejb.interface-method     *     * @throws ApplicationGeoLayerException thrown if an error occours      * during table creation.     */    public void dropGeometryTable() throws ApplicationGeoLayerException {        try {            GeometryLocalHome geometryHome = GeometryUtil.getLocalHome();                        geometryHome.dropDbTable();        } catch (NamingException e) {            throw new ApplicationGeoLayerException(e);        } catch (Exception e) {            throw new ApplicationGeoLayerException(e);        }    }            }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品av麻豆的观看方式| 在线观看欧美日本| 色婷婷亚洲精品| 欧美一区二区三区电影| 亚洲日本在线天堂| 精品在线你懂的| 欧美福利视频一区| 中文字幕一区视频| 国产美女精品人人做人人爽| 欧美亚洲动漫精品| 亚洲人成精品久久久久久| 麻豆精品一区二区三区| 欧美三级一区二区| 1024成人网| 成人亚洲一区二区一| 日韩三级.com| 丝袜美腿亚洲一区二区图片| 色素色在线综合| 国产精品天美传媒| 国产一区二区网址| 日韩一区二区麻豆国产| 亚洲一区电影777| 一本大道久久a久久精品综合| 久久九九久精品国产免费直播| 奇米色一区二区三区四区| 色妹子一区二区| 亚洲三级在线观看| 91在线国内视频| 中文字幕中文字幕在线一区| 国产激情视频一区二区在线观看| 精品国产一区二区三区忘忧草 | 91福利国产精品| 国产精品五月天| 国产精品一卡二卡| 久久久国产精品午夜一区ai换脸| 久久国产精品99精品国产| 精品日韩一区二区三区免费视频| 日日夜夜免费精品| 日韩精品在线网站| 久久99热99| 久久精品综合网| 国产成人av网站| 国产精品欧美精品| 91免费视频观看| 伊人一区二区三区| 在线不卡a资源高清| 日韩成人一级大片| 久久综合狠狠综合久久激情| 国精品**一区二区三区在线蜜桃| 国产日韩视频一区二区三区| 波多野结衣在线aⅴ中文字幕不卡| 亚洲国产精品av| 91理论电影在线观看| 一区二区三区欧美| 欧美疯狂性受xxxxx喷水图片| 日韩成人午夜精品| 26uuu精品一区二区| 成人午夜又粗又硬又大| 亚洲女同女同女同女同女同69| 在线观看www91| 麻豆成人久久精品二区三区小说| 久久伊人中文字幕| 91影院在线免费观看| 亚洲电影第三页| 国产亚洲欧美在线| 91啪亚洲精品| 久久国内精品自在自线400部| 国产精品三级av| 欧美日韩国产系列| 国产麻豆欧美日韩一区| 亚洲六月丁香色婷婷综合久久| 欧美精品丝袜中出| 成人深夜福利app| 日韩av电影天堂| 国产精品青草综合久久久久99| 欧美专区在线观看一区| 经典三级一区二区| 亚洲午夜影视影院在线观看| 日韩视频免费观看高清完整版在线观看 | 91视视频在线直接观看在线看网页在线看| 亚洲午夜三级在线| 国产日韩欧美电影| 91麻豆精品国产自产在线 | 91成人在线观看喷潮| 麻豆成人免费电影| 亚洲第一狼人社区| 中文字幕视频一区| 久久你懂得1024| 欧美一区二区三区思思人| 91美女在线观看| 国产成人免费在线观看| 日产国产高清一区二区三区 | 国产日韩欧美精品综合| 欧美日本国产视频| 欧洲视频一区二区| 不卡大黄网站免费看| 国产成人免费在线| 麻豆91在线观看| 婷婷国产在线综合| 亚洲永久免费av| 综合网在线视频| 国产欧美日韩精品a在线观看| 欧美一区二区三区免费在线看 | 久久一区二区三区国产精品| 在线播放/欧美激情| 一本色道久久综合亚洲91 | 欧美日本不卡视频| 日本丰满少妇一区二区三区| 成人av免费观看| voyeur盗摄精品| 97se亚洲国产综合自在线| 成人免费福利片| 99免费精品视频| av一区二区三区黑人| 成人18视频在线播放| caoporm超碰国产精品| 成人永久免费视频| 99久久精品一区二区| 91免费观看在线| 欧美性高清videossexo| 欧美最猛黑人xxxxx猛交| 欧美午夜精品一区| 欧美三日本三级三级在线播放| 欧美色偷偷大香| 欧美一级日韩一级| 欧美成人精品二区三区99精品| 日韩精品一区二区在线观看| 精品国产一区二区在线观看| 国产亚洲一区二区三区四区| 中国色在线观看另类| 亚洲欧洲美洲综合色网| 一区二区不卡在线播放 | 日韩理论在线观看| 亚洲视频免费看| 午夜激情一区二区三区| 日本v片在线高清不卡在线观看| 狠狠色丁香婷婷综合| 成人黄色a**站在线观看| 色悠久久久久综合欧美99| 欧美日韩国产系列| 久久久久久97三级| 亚洲欧美偷拍卡通变态| 天天综合色天天综合色h| 国产一区二区精品久久91| www.在线欧美| 91精品国产一区二区三区蜜臀| 久久久久久久久久看片| 亚洲精品第1页| 久久99精品视频| 91看片淫黄大片一级| 欧美一卡2卡3卡4卡| 国产精品色噜噜| 秋霞成人午夜伦在线观看| 国产suv精品一区二区883| 91极品美女在线| 精品国产乱码久久久久久图片 | 国产农村妇女精品| 一区二区三区日韩| 韩国视频一区二区| 色爱区综合激月婷婷| 久久女同性恋中文字幕| 亚洲一区二区三区中文字幕| 韩国v欧美v亚洲v日本v| 欧美色爱综合网| 中文字幕一区免费在线观看| 精品在线你懂的| 欧美日韩你懂的| 成人欧美一区二区三区小说 | 26uuu国产在线精品一区二区| 亚洲欧洲美洲综合色网| 久久99国内精品| 欧美综合视频在线观看| 国产精品久久三| 美女视频黄 久久| 欧美天堂亚洲电影院在线播放| 国产色91在线| 九色综合国产一区二区三区| 在线一区二区视频| 国产精品卡一卡二| 韩国一区二区三区| 欧美一级在线视频| 香蕉加勒比综合久久| 91小视频免费观看| 国产精品国产三级国产三级人妇 | 91网站最新地址| 国产精品美女久久久久久久久| 另类成人小视频在线| 欧美精品777| 亚洲综合色在线| 色成人在线视频| 亚洲狼人国产精品| 91在线观看免费视频| 国产精品网友自拍| 成人精品一区二区三区四区 | 风间由美一区二区三区在线观看| 欧美mv日韩mv国产网站| 久久99国产乱子伦精品免费| 欧美一区二区精品在线| 久久精品国产99久久6| 精品国产一区久久|