本文整理了Java中org.apache.catalina.Context.findApplicationParameters()
方法的一些代码示例,展示了Context.findApplicationParameters()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Context.findApplicationParameters()
方法的具体详情如下:
包路径:org.apache.catalina.Context
类名称:Context
方法名:findApplicationParameters
[英]Gets the (possibly empty) list of application parameters for this application.
[中]获取此应用程序的应用程序参数列表(可能为空)。
代码示例来源:origin: psi-probe/psi-probe
for (ApplicationParameter appParam : context.findApplicationParameters()) {
if (appParam != null && !appParam.getOverride()) {
nonOverridableParams.add(appParam.getName());
代码示例来源:origin: psi-probe/psi-probe
for (ApplicationParameter appParam : context.findApplicationParameters()) {
if (appParam != null && !appParam.getOverride()) {
nonOverridableParams.add(appParam.getName());
代码示例来源:origin: psi-probe/psi-probe
for (ApplicationParameter appParam : context.findApplicationParameters()) {
if (appParam != null && !appParam.getOverride()) {
nonOverridableParams.add(appParam.getName());
代码示例来源:origin: psi-probe/psi-probe
for (ApplicationParameter appParam : context.findApplicationParameters()) {
if (appParam != null && !appParam.getOverride()) {
nonOverridableParams.add(appParam.getName());
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* Return the set of application parameters for this application.
* @return a string array with a representation of each parameter
* @throws MBeanException propagated from the managed resource access
*/
public String[] findApplicationParameters() throws MBeanException {
Context context = doGetManagedResource();
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for (int counter = 0; counter < params.length; counter++) {
stringParams[counter] = params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* Return the set of application parameters for this application.
* @return a string array with a representation of each parameter
* @throws MBeanException propagated from the managed resource access
*/
public String[] findApplicationParameters() throws MBeanException {
Context context = doGetManagedResource();
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for (int counter = 0; counter < params.length; counter++) {
stringParams[counter] = params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Return the set of application parameters for this application.
*/
public String[] findApplicationParameters() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Return the set of application parameters for this application.
*/
public String[] findApplicationParameters() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Return the set of application parameters for this application.
*/
public String[] findApplicationParameters() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Return the set of application parameters for this application.
*/
public String[] findApplicationParameters() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Return the set of defined filters for this Context.
*/
public String[] findFilterDefs() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Return the set of defined filters for this Context.
*/
public String[] findFilterDefs() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Return the set of application parameters for this application.
*/
public String[] findApplicationParameters() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Return the set of defined filters for this Context.
*/
public String[] findFilterDefs() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Return the set of application parameters for this application.
*/
public String[] findApplicationParameters() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Return the set of defined filters for this Context.
*/
public String[] findFilterDefs() throws MBeanException {
Context context;
try {
context = (Context)getManagedResource();
} catch (InstanceNotFoundException e) {
throw new MBeanException(e);
} catch (RuntimeOperationsException e) {
throw new MBeanException(e);
} catch (InvalidTargetObjectTypeException e) {
throw new MBeanException(e);
}
ApplicationParameter[] params = context.findApplicationParameters();
String[] stringParams = new String[params.length];
for(int counter=0; counter < params.length; counter++){
stringParams[counter]=params[counter].toString();
}
return stringParams;
}
代码示例来源:origin: org.glassfish.web/web-glue
context.findApplicationParameters();
ContextParameter contextParam;
synchronized (appParams) {
内容来源于网络,如有侵权,请联系作者删除!