public AMF3Deserializer(InputStream in, int capacity) { this.in = in; this.buffer = new byte[capacity]; this.position = 0; this.size = 0; this.storedStrings = new ArrayList<String>(64); this.storedObjects = new ArrayList<Object>(64); this.storedClassDescriptors = new ArrayList<ActionScriptClassDescriptor>(); this.documentCache = null; // created on demand. GraniteContext context = GraniteContext.getCurrentInstance(); this.aliasRegistry = ((AliasRegistryConfig)context.getGraniteConfig()).getAliasRegistry(); this.externalizersConfig = (ExternalizersConfig)context.getGraniteConfig(); this.securizer = ((AMF3Config)context.getGraniteConfig()).getAmf3DeserializerSecurizer(); this.xmlUtil = XMLUtilFactory.getXMLUtil(); }
public AMF3Deserializer(InputStream in, int capacity) { this.in = in; this.buffer = new byte[capacity]; this.position = 0; this.size = 0; this.storedStrings = new ArrayList<String>(64); this.storedObjects = new ArrayList<Object>(64); this.storedClassDescriptors = new ArrayList<ActionScriptClassDescriptor>(); this.documentCache = null; // created on demand. GraniteContext context = GraniteContext.getCurrentInstance(); this.aliasRegistry = ((AliasRegistryConfig)context.getGraniteConfig()).getAliasRegistry(); this.externalizersConfig = (ExternalizersConfig)context.getGraniteConfig(); this.securizer = ((AMF3Config)context.getGraniteConfig()).getAmf3DeserializerSecurizer(); this.xmlUtil = XMLUtilFactory.getXMLUtil(); }
public AMF3Deserializer(InputStream in, int capacity) { this.in = in; this.buffer = new byte[capacity]; this.position = 0; this.size = 0; this.storedStrings = new ArrayList<String>(64); this.storedObjects = new ArrayList<Object>(64); this.storedClassDescriptors = new ArrayList<ActionScriptClassDescriptor>(); this.documentCache = null; // created on demand. GraniteContext context = GraniteContext.getCurrentInstance(); this.aliasRegistry = ((AliasRegistryConfig)context.getGraniteConfig()).getAliasRegistry(); this.externalizersConfig = (ExternalizersConfig)context.getGraniteConfig(); this.securizer = ((AMF3Config)context.getGraniteConfig()).getAmf3DeserializerSecurizer(); this.xmlUtil = XMLUtilFactory.getXMLUtil(); }