Class: MintPress::OracleWeblogic::DataSource

Inherits:
GenericMbean show all
Includes:
MintLogger, Mixins::Properties, FancyNew, Utils
Defined in:
src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb,
src/oracle-weblogic/lib/oracle-weblogic/model/generated_classes/split_152.rb

Overview

The data source implementation class.

Properties (Read/Write)

  • #version ⇒ String (Default Value: Proc.new { self.domain.version })
    Version of weblogic this property is being applied to

    Property Attributes
    • defaultProc.new { self.domain.version }
    
    
    14
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 14
    
    property :version, type: String, default: Proc.new { self.domain.version }
  • #name ⇒ String
    "The JNDI name of the data source."

    Property Attributes
    • short_name"Name"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    16
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 16
    
    property :Name, type: String, array: false, hash: false, short_name: "Name", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The JNDI name of the data source."
  • #notes ⇒ String
    "Optional information that you can include to describe this\nconfiguration."

    Property Attributes
    • short_name"Notes"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    19
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 19
    
    property :Notes, type: String, array: false, hash: false, short_name: "Notes", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "Optional information that you can include to describe this\nconfiguration."
  • #deployment_order ⇒ Integer
    "A priority that the server uses to determine when it deploys an\nitem."

    Property Attributes
    • short_name"DeploymentOrder"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    22
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 22
    
    property :DeploymentOrder, type: Integer, array: false, hash: false, short_name: "DeploymentOrder", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "A priority that the server uses to determine when it deploys an\nitem."
  • #data_source_log_file ⇒ MintPress::OracleWeblogic::DataSourceLogFile (Default Value: MintPress::OracleWeblogic::DataSourceLogFile.new)
    "The log settings for a DataSource."

    Property Attributes
    • short_name"DataSourceLogFile"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • defaultMintPress::OracleWeblogic::DataSourceLogFile.new
    
    
    28
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 28
    
    property :DataSourceLogFile, type: MintPress::OracleWeblogic::DataSourceLogFile, array: false, hash: false, short_name: "DataSourceLogFile", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The log settings for a DataSource.", default: MintPress::OracleWeblogic::DataSourceLogFile.new
  • #rmi_jdbc_security ⇒ String
    "The security protocol used by an RMI client to access a data source."

    Property Attributes
    • short_name"RmiJDBCSecurity"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    30
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 30
    
    property :RmiJDBCSecurity, type: String, array: false, hash: false, short_name: "RmiJDBCSecurity", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The security protocol used by an RMI client to access a data source."
  • #class_name ⇒ String
    "The data source implementation class."

    Property Attributes
    • short_name"ClassName"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    32
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 32
    
    property :ClassName, type: String, array: false, hash: false, short_name: "ClassName", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The data source implementation class."
  • #database_name ⇒ String
    "The name of the database connected to this data source."

    Property Attributes
    • short_name"DatabaseName"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    34
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 34
    
    property :DatabaseName, type: String, array: false, hash: false, short_name: "DatabaseName", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The name of the database connected to this data source."
  • #description ⇒ String
    "A description of this DataSource."

    Property Attributes
    • short_name"Description"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    36
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 36
    
    property :Description, type: String, array: false, hash: false, short_name: "Description", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "A description of this DataSource."
  • #initial_pool_size ⇒ Integer
    "The number of physical connections to create when creating the connection pool\nin the data source."

    Property Attributes
    • short_name"InitialPoolSize"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    39
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 39
    
    property :InitialPoolSize, type: Integer, array: false, hash: false, short_name: "InitialPoolSize", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The number of physical connections to create when creating the connection pool\nin the data source."
  • #isolation_level ⇒ String
    "The transaction isolation level used for connections."

    Property Attributes
    • short_name"IsolationLevel"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    41
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 41
    
    property :IsolationLevel, type: String, array: false, hash: false, short_name: "IsolationLevel", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The transaction isolation level used for connections."
  • #login_timeout ⇒ Integer
    "The maximum amount of time, in seconds, that this data source\nwaits while attempting to connect to a database."

    Property Attributes
    • short_name"LoginTimeout"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    44
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 44
    
    property :LoginTimeout, type: Integer, array: false, hash: false, short_name: "LoginTimeout", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The maximum amount of time, in seconds, that this data source\nwaits while attempting to connect to a database."
  • #max_idle_time ⇒ Integer
    "The maximum amount of time, in seconds, a physical connection can\nremain unused in the pool before the connection is closed."

    Property Attributes
    • short_name"MaxIdleTime"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    47
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 47
    
    property :MaxIdleTime, type: Integer, array: false, hash: false, short_name: "MaxIdleTime", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The maximum amount of time, in seconds, a physical connection can\nremain unused in the pool before the connection is closed."
  • #max_pool_size ⇒ Integer
    "The maximum number of physical connections that this\nconnection pool can contain."

    Property Attributes
    • short_name"MaxPoolSize"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    50
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 50
    
    property :MaxPoolSize, type: Integer, array: false, hash: false, short_name: "MaxPoolSize", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The maximum number of physical connections that this\nconnection pool can contain."
  • #max_statements ⇒ Integer
    "The total number of statements that a connection pool keeps open."

    Property Attributes
    • short_name"MaxStatements"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    52
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 52
    
    property :MaxStatements, type: Integer, array: false, hash: false, short_name: "MaxStatements", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The total number of statements that a connection pool keeps open."
  • #min_pool_size ⇒ Integer
    "The minimum number of physical connections that this\nconnection pool can contain."

    Property Attributes
    • short_name"MinPoolSize"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    55
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 55
    
    property :MinPoolSize, type: Integer, array: false, hash: false, short_name: "MinPoolSize", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The minimum number of physical connections that this\nconnection pool can contain."
  • #password ⇒ [Mint::Secret]
    "The password to use for connection authentication with the database."

    Property Attributes
    • short_name"Password"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    57
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 57
    
    property :Password, type: [Mint::Secret], array: false, hash: false, short_name: "Password", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The password to use for connection authentication with the database."
  • #port_number ⇒ Integer
    "The port number a server uses to listen for requests."

    Property Attributes
    • short_name"PortNumber"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    59
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 59
    
    property :PortNumber, type: Integer, array: false, hash: false, short_name: "PortNumber", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The port number a server uses to listen for requests."
  • #properties ⇒ Hash of ⇒ MintPress::OracleWeblogic::JavaEEProperty
    "Spcecifies a JDBC DataSource property."

    Property Attributes
    • short_name"Properties"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatortrue
    • read_onlyfalse
    
    
    61
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 61
    
    property :Properties, type: MintPress::OracleWeblogic::JavaEEProperty, array: false, hash: true, short_name: "Properties", has_setter: false, has_getter: true, has_lister: false, has_creator: true, read_only: false, description: "Spcecifies a JDBC DataSource property."
  • #server_name ⇒ String
    "The database server name."

    Property Attributes
    • short_name"ServerName"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    63
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 63
    
    property :ServerName, type: String, array: false, hash: false, short_name: "ServerName", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The database server name."
  • #url ⇒ String
    "The JDBC URL."

    Property Attributes
    • short_name"Url"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    65
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 65
    
    property :Url, type: String, array: false, hash: false, short_name: "Url", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The JDBC URL."
  • #user ⇒ String
    "The user name to use for connection authentication with the database."

    Property Attributes
    • short_name"User"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    67
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 67
    
    property :User, type: String, array: false, hash: false, short_name: "User", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The user name to use for connection authentication with the database."
  • #transactional ⇒ [TrueClass,FalseClass]
    "When enabled, connections participate in transactions."

    Property Attributes
    • short_name"Transactional"
    • has_settertrue
    • has_getterfalse
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    69
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 69
    
    property :Transactional, type: [TrueClass,FalseClass], array: false, hash: false, short_name: "Transactional", has_setter: true, has_getter: false, has_lister: false, has_creator: false, read_only: false, description: "When enabled, connections participate in transactions."
  • #default_datasource ⇒ String
    "The JNDI name of a system resource data source used to override the default datasource."

    Property Attributes
    • short_name"DefaultDatasource"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    71
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/data_source.rb', line 71
    
    property :DefaultDatasource, type: String, array: false, hash: false, short_name: "DefaultDatasource", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "The JNDI name of a system resource data source used to override the default datasource."
  • #name ⇒ String (Default Value: "NO_NAME_0")

    Property Attributes
    • default"NO_NAME_0"
    
    
    31
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/generic_mbean.rb', line 31
    
    property :Name, type: String, default: "NO_NAME_0"

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Instance Method Summary collapse

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Methods included from Utils

#activate_list, #already_traversed, #announce_self, #bean_type, #build_activate_list, #clear_property_sheet_cache, #create_generic, #create_mbean_components, #delete, #destroy_generic, #empty_mbean?, #execute_script, #exists?, #fast_ls_all, #fast_ls_folder, #fast_ls_object, #fast_ls_object_map, #find_cluster, #find_runtime_path_in_rest, #find_server, #full_url, #get, #get_all_self_names, #get_identity, #get_local_wlst_session, #get_matching_self_names, #get_property_from_target, #get_property_from_target_rest, #get_property_from_target_wlst, #get_property_from_target_wlst_impl, #get_property_sheet, #get_rest_item, #get_rest_url_for_parent, #get_rest_url_for_self, #get_servers, #get_servers_rest, #get_servers_wlst, #get_wl_home, #globmatch?, #handle_create, #http_delete, #http_get, #http_post, #http_put, included, #invalidate_session, #is_meta_object?, #longclass, #massage_return, #mbean_components, #mbean_exists?, #mbean_lookup, #mbean_properties, #mbean_to_hash, #meta_list?, #my_short_name, #perform_method_generic, #perform_runtime_call_generic_rest, #perform_runtime_method_generic, #post, #raise_http_exception, #remove, #request_headers, #reset_activate_list, #rest_activate_change, #rest_create_generic, #rest_create_mbean_components, #rest_destroy_self, #rest_edit_url, #rest_has_changes, #rest_idempotent_create, #rest_locked, #rest_nonedit_url, #rest_start_change, #rest_undo_change, #runtime_introspection, #shortclass, #start_with_async, #state_with_net_ping, #stop_with_async, #to_nested, #wlst_cd_to, #wlst_create_generic, #wlst_destroy_self, #wlst_find_object, #wlst_find_parent_object, #wlst_generic_mbean_update_all, #wlst_idempotent_create, #wlst_update_mbean

Methods included from FancyNew

included

Methods inherited from GenericMbean

#create, #destroy, #is_generic, is_generic

Methods included from MBeanUtils

#assign_object_by_identity, #assign_object_by_identity_from, #bean_is_changed?, #dump_metadata, #dump_tree_metadata, #get_item_by_identity_name, #get_item_by_identity_name_from, #get_parent_by_identity_name, #harvest, #harvest_anew, #harvest_item_by_name, #harvest_item_by_type, #harvest_wlst, #harvesters, #harvesting, #longname, #lookup_mintpress_by_mbean, #mbean_by_url, #process_mbeans, #register_mbean_url

Constructor Details

#initialize(opts = {}) ⇒ DataSource

Returns a new instance of DataSource.

Instance Method Details

#import_props_from_modelObject