Package org.rioproject.eventcollector.proxy

Examples of org.rioproject.eventcollector.proxy.Registration


        registration.enableDelivery(listener.export());
    }

    @Test(expected = UnknownEventCollectorRegistration.class)
    public void testUnknownEventCollectorRegistration() throws UnknownEventCollectorRegistration, IOException {
        EventCollectorRegistration unknownRegistration = new Registration(eventCollectorImpl,
                                                                          UuidFactory.generate(),
                                                                          null);
        unknownRegistration.enableDelivery(null);

    }
View Full Code Here


            logger.debug(String.format("Lease duration requested: %d, granted, expires %s, actual: %d",
                                      duration, formatter.format(new Date(lease.getExpiration())), actual));
        }
        registrations.put(registrationID, registeredNotification);
        leaseListener.register(registeredNotification);
        return new Registration((EventCollectorBackend)getServiceProxy(), registrationID, lease);
    }
View Full Code Here

TOP

Related Classes of org.rioproject.eventcollector.proxy.Registration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.