configuration.java
来自「在Struts2中的jar包xwork的源代码.版本为2.0.7」· Java 代码 · 共 57 行
JAVA
57 行
/* * Copyright (c) 2002-2006 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.config;import com.opensymphony.xwork2.config.entities.PackageConfig;import com.opensymphony.xwork2.inject.Container;import java.util.List;import java.util.Map;import java.util.Set;import java.io.Serializable;/** * XWork configuration. * * @author Mike */public interface Configuration extends Serializable { void rebuildRuntimeConfiguration(); PackageConfig getPackageConfig(String name); Set getPackageConfigNames(); Map getPackageConfigs(); /** * The current runtime configuration. Currently, if changes have been made to the Configuration since the last * time buildRuntimeConfiguration() was called, you'll need to make sure to. * * @return the current runtime configuration */ RuntimeConfiguration getRuntimeConfiguration(); void addPackageConfig(String name, PackageConfig packageConfig); /** * Allow the Configuration to clean up any resources that have been used. */ void destroy(); void reload(List<ConfigurationProvider> providers) throws ConfigurationException; void removePackageConfig(String name); /** * @return the container */ Container getContainer(); Set<String> getLoadedFileNames();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?