Sha256: 6ba79c0b6e89728ace35343089175f2ebb193709e042754e6238bca4e84e1039

Contents?: true

Size: 1008 Bytes

Versions: 1

Compression:

Stored size: 1008 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), 'process_model.rb')
require File.join(File.expand_path(File.dirname(__FILE__)), 'recycling.rb')

class ApplicationPool < IisObject

	# prop :managed_runtime_version,   :managedRuntimeVersion
	# prop :pass_anonymous_token, :passAnonymousToken
	# prop :queue_length, :queueLength

	# autoStart getting returns TrueClass from WIN32OLE
	prop :auto_start,        :autoStart,              lambda { |a| a == true ? "true" : "false" },            lambda {|value| value == true || value == "true" }
	prop :classic_pipeline,  :managedPipelineMode,    lambda { |a| a == true ? 1 : 0 },                       lambda {|value| value.to_i == 1 }
	prop :enable_32bit,      :enable32BitAppOnWin64
	prop :always_running,    :startMode,              lambda { |a| a == true ? "AlwaysRunning" : "OnDemand" },lambda {|value| value.to_i == 1 }
	
    child :process_model, :processModel, ProcessModel
    child :recycling, :recycling, Recycling 

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inetmgr-0.6.0 lib/inetmgr/iis_object/application_pool.rb