<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Ryan's Java world!

    something about Java and opensource!

    BlogJava 首頁 新隨筆 聯系 聚合 管理
      51 Posts :: 25 Stories :: 59 Comments :: 0 Trackbacks

    Spring IDE Guide ?

    From: http://springide.org/project/wiki/SpringideGuide?

    To start working with Spring IDE you need a SpringProject. A SpringProject can be created by adding the SpringProjectNature to an existing project or by creating a new Spring project with the SpringProjectWizard.

    Add SpringProject nature ?

    • select open project nodes in Eclipse resource navigator or JDT package explorer
    • activate context menu item "Add Spring Project Nature" on selected projects

    added screenshoot

    • once the nature is added, these projects are now decorated with a small 'S' in the upper right corner (overwriting other decorators, e.g. Java project decorator 'J')

    added screenshoot

    • to remove the nature, right click the project and select "Remove Spring Project Nature"

    See also: SpringProject, SpringProjectNature

    Create new SpringProject ?

    • open the wizard selection dialog via the menu "File / New / Project..."

    Screenshoot of wizard selection dialog

    • select the wizard "Spring IDE / New Spring Project"

    Screenshoot of Spring project wizard

    • enter the project name
    • (optionally) modify the comma-separated list of supported BeansConfig file extensions (default is "xml")
    • if you don't need a Java project then deselect the checkbox "Create a Java project"
    • for a Java project you can change the project's settings (source / classes folder, classpath, libraries, ...) on the next dialog page

    See also: SpringProject

    Add references to other Spring projects (optional) ?

    • open a Spring project's properties dialog from the context menu in Eclipse resource navigator or JDT package explorer
    • select the properties page "Project References" from the list on the left side
    • enable all Spring project(s) containing Spring Beans config files which are referenced from within this project via Spring Beans config sets (defined later on)

    added screenshoot


    See also: BeansConfig, BeansConfigSet

    Add Spring BeansConfig files ?

    • open a Spring project's properties dialog from the context menu in Eclipse resource navigator or JDT package explorer
    • select the properties page "Spring Beans" from the list on the left side

    Spring project properties dialog with BeansConfig tab

    • (optionally) modify the comma-separated list of supported BeansConfig file extensions (default is "xml")
    • use the button "Add..." to open a selector dialog providing a list of all files with the specified extensions in your Spring project and select the corresponding Spring BeansConfig files

    Spring project properties dialog with Add BeansConfig dialog

    • once the config files are selected the corresponding files are decorated with a small 'S' in Eclipse resource navigator or JDT package explorer

    Package explorer with decorated BeansConfig files


    See also: BeansProjectProperties?, BeansConfig

    Create Spring BeansConfig file sets (optional) ?

    • open a Spring project's properties dialog from the context menu in Eclipse resource navigator or JDT package explorer
    • select the properties page "Spring Beans" from the list on the left side
    • select the second tab labeled "Config Sets"

    Spring project properties dialog with BeansConfigSet tab

    • use the button "New..." to open a dialog for creating a new config set with a selection of all config files (added in the previous step) belonging to this config set
      • define a unique name for the config set
      • activate the checkbox "Enable bean override" if multiple beans with the same ID should be overidden by the last bean (used by the BeansConfigValidator only -> if activated then bean overriding is not treated as validation error)
      • activate the checkbox "Is incomplete" if this config set does not contain all beans which are referenced by other beans defined in this config set (used by the BeansConfigValidator only -> if activated then unresolved bean references are not treated as validation errors)
      • externally defined config files (as described in section "Add references to other Spring projects") are decorated with a small blue arrow)

    Create new BeansConfigSet dialog

    • use the buttons "Move Up" and "Move Down" to change the order of the config files within the config set (important for bean overriding)

    Spring project properties dialog with BeansConfigSet tab


    See also: BeansConfig, BeansConfigSet, BeansConfigValidator

    Open Spring BeansView ?

    • select from within any of the added Spring BeansConfig files opened in an Eclipse editor the menu item "Navigate/Show In/Spring Beans"

    added screen shoot

    • once the menu item is selected the Spring BeansView is opened and the corresponding Spring BeansConfig file is selected in the view's model

    Editor and Beans View

    • double-clicking on certain entries in the Spring BeansView (bean, property or constructor argument) navigates to the corresponding location in the config file
    • by selecting the corresponding toolbar actions the BeansView supports alphabetical sorting and syncing with the BeansXmlEditor

    See also: BeansView, BeansConfig, BeansXmlEditor

    Validate Spring BeansConfig file ?

    • after modifying and saving any of the added Spring BeansConfig files from within an open Eclipse editor this config is automatically validated by Spring IDE
    • for any error occured during validation a problem marker is created and listed in Eclipse's problem view

    Editor with problem markers and problem view


    See also: BeansConfig, BeansConfigValidator

    Open Spring BeansGraph ?

    • right-clicking on certain entries in the Spring BeansView (config, config set or bean) opens a read-only editor showing a graph with all beans referenced by the selected view entry

    BeansGraph with outline view


    See also: BeansView, BeansConfig, BeansConfigSet, BeansGraph

    Search for Spring Beans ?

    • open the search dialog via the "Search / Search..." menu
    • select the tab "Spring Beans Search" to switch to the BeansSearch dialog

    Screenshoot of Spring Beans search dialog


    See also: BeansSearch

    Attachments

    posted on 2006-04-25 15:10 冰雨 閱讀(697) 評論(0)  編輯  收藏 所屬分類: OpenSourceSpring

    JSF中文技術文摘
    主站蜘蛛池模板: 亚洲国产美女视频| 亚洲AV日韩AV高潮无码专区| 亚洲国产成人99精品激情在线| 香蕉免费一区二区三区| 亚洲黄色片免费看| 亚洲黄色免费观看| 亚洲情A成黄在线观看动漫软件| 久久精品免费一区二区| 亚洲人妖女同在线播放| 成熟女人牲交片免费观看视频| 亚洲熟女www一区二区三区| 免费爱爱的视频太爽了| 精品一区二区三区无码免费直播 | 我们的2018在线观看免费高清| 亚洲第一区视频在线观看| 成年美女黄网站18禁免费| 含羞草国产亚洲精品岁国产精品| 国产91在线免费| 亚美影视免费在线观看| 亚洲成色www久久网站夜月| 中文字幕成人免费视频| 亚洲色偷偷偷综合网| 亚洲精品天堂成人片?V在线播放| 国产精品极品美女自在线观看免费 | 欧洲人免费视频网站在线| 亚洲高清日韩精品第一区| 麻豆国产精品入口免费观看| 最好2018中文免费视频| 亚洲国产精品无码久久一线| 99久久久国产精品免费无卡顿| 亚洲爆乳无码精品AAA片蜜桃| 中文字幕亚洲一区二区va在线| 99热精品在线免费观看| 亚洲一区二区三区成人网站| 亚洲国产成人久久综合区| 久久久免费的精品| 国产亚洲漂亮白嫩美女在线| 亚洲av永久无码精品表情包| 成年男女免费视频网站| 中文字幕免费在线视频| 亚洲精品无码av中文字幕|