markAsSharedAdmin
public void markAsSharedAdmin(ConsumerAdmin consumerAdmin)
throws AcsJCORBAProblemEx
Creates a dummy proxy in the given consumer admin.
This dummy proxy is not of a StructuredProxyPushSupplier, like the rest of the proxies that are created for the NC in the admin objects.
This way we can recognize a shared consumer admin by looking at its proxies, and checking if their "MyType" property is ANY_EVENT.
This hack is only needed while we are in transition between the old and new NC classes, and should get removed once the old classes are not used
anymore (also not in C++ etc).
In addition to using a unique proxy type, we also use a recognizable name,
so that we can recognize the dummy proxy even when we only know its name,
as it happens when working with the TAO MC statistics, see #isDummyProxy(String).
- Throws:
AcsJCORBAProblemEx