com.gridsystems.config.modules.tomcat
Class WindowsFirewallManager

java.lang.Object
  extended by com.gridsystems.config.modules.tomcat.WindowsFirewallManager

public final class WindowsFirewallManager
extends java.lang.Object

Manages ports of firewall in Windows OS.

Author:
Xmas

Method Summary
static void closePorts(Connector[] connectors)
          Closes all ports defined in this model on the Windows firewall.
static void openPorts(java.lang.String productName, Connector[] connectors)
          Opens all ports defined in this model on the Windows firewall.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

closePorts

public static void closePorts(Connector[] connectors)
Closes all ports defined in this model on the Windows firewall.

Parameters:
connectors - List of connectors to close.

openPorts

public static void openPorts(java.lang.String productName,
                             Connector[] connectors)
Opens all ports defined in this model on the Windows firewall.

Parameters:
productName - Product Name
connectors - List of connectors to open.


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.