empty interfaces via reflection



Is it possible to force a class to implement a (empty) interface via
reflection only... the problem is I want to create a Proxy but want
the class/interface being proxied to be totally unaware of it (eg.
TestProxy does some debugging and checks on all classes
Class.newInstance() calls after it is constructor is called [from the
caller not from within itself])

.



Relevant Pages

  • Re: How to do non dependence on database vendor?
    ... >> You could actually get away with only a single proxy if you use ... there would be a performance hit to using Reflection. ... > The interface approach seems more scalable and contained. ... >> That would make up a layer between the business logic and the data layer, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Internet Access problems in Fedora Core 4
    ... using the raw ip was to factor out DNS from the troubleshooting. ... set right or your card's interface isn't setup right. ... nameserver <proxy if proxy does dns to you or isp's dns> ... PING 64.233.179.99 56bytes of data. ...
    (comp.os.linux.misc)
  • Re: Should proxy have one interface or two
    ... Dual firewall will help you grant access to public resource/client and limit ... Vérificateur interne en sécurité de l'information ... A Proxy is a device that takes a connexion, filters it and sends it to the ... That's why you have 2 interface, to prevent the bypassing of the proxy, to ...
    (Security-Basics)
  • Re: UML Question (Object <-> ObjectFinder?)
    ... just delegates all method calls to the proxy, ... I could even use an interface here. ... It dispatches to UserFinder.findUserByName, which, in turn, creates the right command string and invokes Proxy.doIt. ... The findUserByName subsystem interface method could form the command string and invoke Proxy.doIt directly. ...
    (comp.object)
  • Re: How to do non dependence on database vendor?
    ... >>> You could actually get away with only a single proxy if you use ... >> The interface approach seems more scalable and contained. ... >>> layer, focusing on storing and retrieval of the explicit data, but free ... >>> the future want to make use of another DB than those supporting SQL. ...
    (microsoft.public.dotnet.languages.csharp)