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

x33g5p2x  于2022-01-25 转载在 其他  
字(5.9k)|赞(0)|评价(0)|浏览(127)

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

Manager.setDistributable介绍

[英]Set the distributable flag for the sessions supported by this Manager. If this flag is set, all user data objects added to sessions associated with this manager must implement Serializable.
[中]

代码示例

代码示例来源:origin: jboss.web/jbossweb

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable", oldDistributable, this.distributable);
  // Bugzilla 32866
  if( getManager() != null) {
    getManager().setDistributable(distributable);
  }
}

代码示例来源:origin: tomcat/catalina

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable",
                new Boolean(oldDistributable),
                new Boolean(this.distributable));
  // Bugzilla 32866
  if(getManager() != null) {
    if(log.isDebugEnabled()) {
      log.debug("Propagating distributable=" + distributable
           + " to manager");
    }
    getManager().setDistributable(distributable);
  }
}

代码示例来源:origin: org.jboss.web/jbossweb

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable", oldDistributable, this.distributable);
  // Bugzilla 32866
  if( getManager() != null) {
    getManager().setDistributable(distributable);
  }
}

代码示例来源:origin: org.glassfish.main.web/web-core

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
@Override
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable",
                Boolean.valueOf(oldDistributable),
                Boolean.valueOf(this.distributable));
  // Bugzilla 32866
  if(getManager() != null) {
    if(log.isLoggable(Level.FINE)) {
      log.log(Level.FINE, "Propagating distributable=" + distributable
          + " to manager");
    }
    getManager().setDistributable(distributable);
  }
}

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
@Override
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable",
                oldDistributable,
                this.distributable);
  // Bugzilla 32866
  if(getManager() != null) {
    if(log.isDebugEnabled()) {
      log.debug("Propagating distributable=" + distributable
           + " to manager");
    }
    getManager().setDistributable(distributable);
  }
}

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
@Override
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable",
                oldDistributable,
                this.distributable);
  // Bugzilla 32866
  if(getManager() != null) {
    if(log.isDebugEnabled()) {
      log.debug("Propagating distributable=" + distributable
           + " to manager");
    }
    getManager().setDistributable(distributable);
  }
}

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
@Override
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable",
                oldDistributable,
                this.distributable);
  // Bugzilla 32866
  if(getManager() != null) {
    if(log.isDebugEnabled()) {
      log.debug("Propagating distributable=" + distributable
           + " to manager");
    }
    getManager().setDistributable(distributable);
  }
}

代码示例来源:origin: codefollower/Tomcat-Research

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
@Override
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable",
                oldDistributable,
                this.distributable);
  // Bugzilla 32866
  if(getManager() != null) {
    if(log.isDebugEnabled()) {
      log.debug("Propagating distributable=" + distributable
           + " to manager");
    }
    getManager().setDistributable(distributable);
  }
}

代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
@Override
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable",
                oldDistributable,
                this.distributable);
  // Bugzilla 32866
  if(getManager() != null) {
    if(log.isDebugEnabled()) {
      log.debug("Propagating distributable=" + distributable
           + " to manager");
    }
    getManager().setDistributable(distributable);
  }
}

代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Set the distributable flag for this web application.
 *
 * @param distributable The new distributable flag
 */
@Override
public void setDistributable(boolean distributable) {
  boolean oldDistributable = this.distributable;
  this.distributable = distributable;
  support.firePropertyChange("distributable",
                oldDistributable,
                this.distributable);
  // Bugzilla 32866
  if(getManager() != null) {
    if(log.isDebugEnabled()) {
      log.debug("Propagating distributable=" + distributable
           + " to manager");
    }
    getManager().setDistributable(distributable);
  }
}

相关文章