Sha256: 06eb25f0bb19630befccd9f3ca45099f42b9d107b4bb7b326aefaaea07ba1d21

Contents?: true

Size: 937 Bytes

Versions: 2

Compression:

Stored size: 937 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

	prop :auto_start,        :autoStart,              lambda { |a| a == true ? "true" : "false" },            lambda {|value| 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

2 entries across 2 versions & 1 rubygems

Version Path
inetmgr-0.5.0 lib/inetmgr/iis_object/application_pool.rb
inetmgr-0.4.0 lib/inetmgr/iis_object/application_pool.rb