<commit_before>/**************************************************************************
 * ADOBE CONFIDENTIAL
 *
 * ___________________
 *
 *  Copyright 2010 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/

package mx.utils
{
import flash.net.registerClassAlias;

import mx.collections.ArrayCollection;
import mx.collections.ArrayList;
import mx.managers.ISystemManager;
import mx.messaging.config.ConfigMap;
import mx.messaging.management.MBeanAttributeInfo;
import mx.messaging.management.MBeanConstructorInfo;
import mx.messaging.management.MBeanFeatureInfo;
import mx.messaging.management.MBeanInfo;
import mx.messaging.management.MBeanOperationInfo;
import mx.messaging.management.MBeanParameterInfo;
import mx.messaging.management.ObjectInstance;
import mx.messaging.management.ObjectName;
import mx.messaging.messages.AcknowledgeMessage;
import mx.messaging.messages.AcknowledgeMessageExt;
import mx.messaging.messages.AsyncMessage;
import mx.messaging.messages.AsyncMessageExt;
import mx.messaging.messages.CommandMessage;
import mx.messaging.messages.CommandMessageExt;
import mx.messaging.messages.ErrorMessage;
import mx.messaging.messages.HTTPRequestMessage;
import mx.messaging.messages.MessagePerformanceInfo;
import mx.messaging.messages.RemotingMessage;
import mx.messaging.messages.SOAPMessage;
import mx.utils.ObjectProxy;

public class RpcClassAliasInitializer
{
    /**
     * In the event that an application does not use the Flex UI classes which processes
     * the [RemoteClass(alias="")] bootstrap code, this function will register all the
     * classes for AMF serialization needed by the flex rpc library.
     *
     *  @langversion 3.0
     *  @playerversion Flash 10.1
     *  @playerversion AIR 2.0
     *  @productversion Flex 4.5
     */
    public static function registerClassAliases():void
    {
        // Flex classes
        registerClassAlias("flex.messaging.io.ArrayCollection", ArrayCollection);
        registerClassAlias("flex.messaging.io.ArrayList", ArrayList);
        registerClassAlias("flex.messaging.io.ObjectProxy", ObjectProxy);
        
        // rpc classes
        registerClassAlias("flex.messaging.messages.AcknowledgeMessage", AcknowledgeMessage);<commit_msg>Transferred from the Adobe Open Source Subversion Repository<commit_after>/**************************************************************************
 * ADOBE CONFIDENTIAL
 *
 * ___________________
 *
 *  Copyright 2010 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/

package mx.utils
{
import flash.net.registerClassAlias;

import mx.collections.ArrayCollection;
import mx.collections.ArrayList;
import mx.managers.ISystemManager;
import mx.messaging.config.ConfigMap;
import mx.messaging.management.MBeanAttributeInfo;
import mx.messaging.management.MBeanConstructorInfo;
import mx.messaging.management.MBeanFeatureInfo;
import mx.messaging.management.MBeanInfo;
import mx.messaging.management.MBeanOperationInfo;
import mx.messaging.management.MBeanParameterInfo;
import mx.messaging.management.ObjectInstance;
import mx.messaging.management.ObjectName;
import mx.messaging.messages.AcknowledgeMessage;
import mx.messaging.messages.AcknowledgeMessageExt;
import mx.messaging.messages.AsyncMessage;
import mx.messaging.messages.AsyncMessageExt;
import mx.messaging.messages.CommandMessage;
import mx.messaging.messages.CommandMessageExt;
import mx.messaging.messages.ErrorMessage;
import mx.messaging.messages.HTTPRequestMessage;
import mx.messaging.messages.MessagePerformanceInfo;
import mx.messaging.messages.RemotingMessage;
import mx.messaging.messages.SOAPMessage;
import mx.utils.ObjectProxy;

/**
 *
 *  @langversion 3.0
 *  @playerversion Flash 10
 *  @playerversion AIR 2.5
 *  @productversion Flex 4.5
 */
public class RpcClassAliasInitializer
{
    /**
     * In the event that an application does not use the Flex UI classes which processes
     * the [RemoteClass(alias="")] bootstrap code, this function will register all the
     * classes for AMF serialization needed by the flex rpc library.
     *
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5
     *  @productversion Flex 4.5
     */
    public static function registerClassAliases():void
    {
        // Flex classes
        registerClassAlias("flex.messaging.io.ArrayCollection", ArrayCollection);
        registerClassAlias("flex.messaging.io.ArrayList", ArrayList);
        registerClassAlias("flex.messaging.io.ObjectProxy", ObjectProxy);
        
        // rpc classes
        registerClassAlias("flex.messaging.messages.AcknowledgeMessage", AcknowledgeMessage);
{'fraction_non_alphanumeric': 0.12197187870574284, 'fraction_numerical': 0.0055903777740132134, 'mean_word_length': 4.8804780876494025, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7487065', 'n_tokens_mistral': 1606, 'n_tokens_neox': 1517, 'n_words': 429}