Systems and methods for implementing aggregation containers
    1.
    发明授权
    Systems and methods for implementing aggregation containers 失效
    用于实现聚合容器的系统和方法

    公开(公告)号:US07500248B2

    公开(公告)日:2009-03-03

    申请号:US10426401

    申请日:2003-04-29

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F9/4492

    摘要: A container object decorated with a proxy attribute is intercepted when instantiated at runtime, and a component that is an instance of a type dynamically created at runtime is returned, which implements interfaces corresponding to each of the individual interfaces of the objects extended in the container object by delegating to the extended objects. Alternately, a similar container object, when instantiated at runtime, would return a proxy object which contains a lookup table that maps interfaces to the extended objects within the component. The proxy object intercepts all calls to the container object and redirects them appropriately to the proxy objects corresponding to the extended objects, which may in turn redirect calls appropriately.

    摘要翻译: 使用代理属性装饰的容器对象在运行时实例化时被拦截,并且返回一个作为在运行时动态创建的类型的实例的组件,该组件实现与容器对象中扩展的对象的每个单独接口对应的接口 通过委托扩展对象。 或者,类似的容器对象在运行时实例化时将返回一个代理对象,它包含一个查找表,将接口映射到组件中的扩展对象。 代理对象拦截对容器对象的所有调用,并将它们适当地重定向到与扩展对象相对应的代理对象,这可能反过来重新调用呼叫。