def initialize( path = nil, options = {} )
@bin_path = options[:bin_path] || BIN_PATH
@lib_path = options[:lib_path] || LIB_PATH
@component_path = options[:component_path] || COMPONENT_PATH
@resource_path = options[:resource_path] || RESOURCE_PATH
@web_server_resource_path = options[:web_server_resource_path] || \
WEB_SERVER_RESOURCE_PATH
@model_path = options[:model_path] || MODEL_PATH
@locale_path = options[:locale_path] || LOCALE_PATH
@package_path = options[:package_path] || PACKAGE_PATH
@message_path = options[:message_path] || MESSAGE_PATH
@component_load_type = options[:component_load_type] || \
REQUIRE_COMPONENT_LOAD_TYPE
@package_class_name = options[:package_class_name]
@config_file = options[:config_file] || CONFIG_FILE
@pre_load_file = options[:pre_lod_file] || PRE_LOAD_FILE
@post_load_file = options[:post_load_file] || POST_LOAD_FILE
@message_encoding = options[:message_encoding]
@messages = {}
if path then
self.path = path
load
end
end