org.apache.catalina.Context.findApplicationParameters()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(9.0k)|赞(0)|评价(0)|浏览(79)

本文整理了Java中org.apache.catalina.Context.findApplicationParameters()方法的一些代码示例,展示了Context.findApplicationParameters()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Context.findApplicationParameters()方法的具体详情如下:
包路径:org.apache.catalina.Context
类名称:Context
方法名:findApplicationParameters

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) {

相关文章

微信公众号

最新文章

更多

Context类方法