Code example for ActivationID

0
        } 
    } 
 
    private static class FakeActivatable extends Activatable {
        FakeActivatable() throws RemoteException {
            super(new ActivationID(new FakeActivator()), 0);
        } 
    } 
 
    private static class FakeActivator 
        extends RemoteStub implements Activator
    { 
        FakeActivator() { 
            super(new FakeRemoteRef("FakeRef")); 
        } 
 
        public MarshalledObject activate(ActivationID id, boolean force) {
            return null; 
        } 
    }