+/*
+ * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.argeo.slc.services;
import java.util.Iterator;
private List<SlcEventPublisher> eventPublishers;
- @After("execution(void org.argeo.slc.services.runtime.AgentService.register(..))")
+ @After("execution(void org.argeo.slc.services.AgentService.register(..))")
public void registerAgent(JoinPoint jp) throws Throwable {
SlcAgentDescriptor agentDescriptor = (SlcAgentDescriptor) jp.getArgs()[0];
SlcEvent event = new SlcEvent(EVT_AGENT_REGISTERED);
publishEvent(event);
}
- @After("execution(void org.argeo.slc.services.runtime.AgentService.unregister(..))")
+ @After("execution(void org.argeo.slc.services.AgentService.unregister(..))")
public void unregisterAgent(JoinPoint jp) throws Throwable {
SlcAgentDescriptor agentDescriptor = (SlcAgentDescriptor) jp.getArgs()[0];
SlcEvent event = new SlcEvent(EVT_AGENT_UNREGISTERED);
publishEvent(event);
}
- @After("execution(void org.argeo.slc.services.process.SlcExecutionService.newExecution(..))")
+ @After("execution(void org.argeo.slc.services.SlcExecutionService.newExecution(..))")
public void newSlcExecution(JoinPoint jp) throws Throwable {
SlcExecution slcExecution = (SlcExecution) jp.getArgs()[0];
SlcEvent event = new SlcEvent(EVT_NEW_SLC_EXECUTION);
publishEvent(event);
}
- @After("execution(void org.argeo.slc.services.process.SlcExecutionService.updateStatus(..))")
+ @After("execution(void org.argeo.slc.services.SlcExecutionService.updateStatus(..))")
public void updateSlcExecutionStatus(JoinPoint jp) throws Throwable {
SlcExecutionStatusRequest msg = (SlcExecutionStatusRequest) jp
.getArgs()[0];