Search in sources :

Example 6 with EventNotification

use of org.ow2.proactive_grid_cloud_portal.scheduler.dto.eventing.EventNotification in project scheduling by ow2-proactive.

the class SchedulerEventBroadcaster method jobSubmittedEvent.

@Override
public void jobSubmittedEvent(JobState jobState) {
    logEvent(jobState);
    broadcast(new EventNotification(EventNotification.Action.JOB_SUBMITTED, SchedulerEvent.JOB_SUBMITTED.name(), jobState));
}
Also used : EventNotification(org.ow2.proactive_grid_cloud_portal.scheduler.dto.eventing.EventNotification)

Example 7 with EventNotification

use of org.ow2.proactive_grid_cloud_portal.scheduler.dto.eventing.EventNotification in project scheduling by ow2-proactive.

the class SchedulerEventBroadcaster method usersUpdatedEvent.

@Override
public void usersUpdatedEvent(NotificationData<UserIdentification> notification) {
    logEvent(notification);
    broadcast(new EventNotification(EventNotification.Action.USERS_UPDATED, eventTypeName(notification), notification.getData()));
}
Also used : EventNotification(org.ow2.proactive_grid_cloud_portal.scheduler.dto.eventing.EventNotification)

Aggregations

EventNotification (org.ow2.proactive_grid_cloud_portal.scheduler.dto.eventing.EventNotification)7 IOException (java.io.IOException)1 URISyntaxException (java.net.URISyntaxException)1 KeyException (java.security.KeyException)1 LoginException (javax.security.auth.login.LoginException)1 HttpSession (javax.servlet.http.HttpSession)1 POST (javax.ws.rs.POST)1 Path (javax.ws.rs.Path)1 Produces (javax.ws.rs.Produces)1 AtmosphereResource (org.atmosphere.cpr.AtmosphereResource)1 WebSocketEventListenerAdapter (org.atmosphere.websocket.WebSocketEventListenerAdapter)1 ActiveObjectCreationException (org.objectweb.proactive.ActiveObjectCreationException)1 NodeException (org.objectweb.proactive.core.node.NodeException)1 ConnectionException (org.ow2.proactive.scheduler.common.exception.ConnectionException)1 InternalSchedulerException (org.ow2.proactive.scheduler.common.exception.InternalSchedulerException)1 JobAlreadyFinishedException (org.ow2.proactive.scheduler.common.exception.JobAlreadyFinishedException)1 JobCreationException (org.ow2.proactive.scheduler.common.exception.JobCreationException)1 NotConnectedException (org.ow2.proactive.scheduler.common.exception.NotConnectedException)1 PermissionException (org.ow2.proactive.scheduler.common.exception.PermissionException)1 SchedulerException (org.ow2.proactive.scheduler.common.exception.SchedulerException)1