KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jmanage > core > alert > delivery > ConsoleDelivery


1 /**
2 * Copyright (c) 2004-2005 jManage.org
3 *
4 * This is a free software; you can redistribute it and/or
5 * modify it under the terms of the license at
6 * http://www.jmanage.org.
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 */

14 package org.jmanage.core.alert.delivery;
15
16 import org.jmanage.core.config.AlertConfig;
17 import org.jmanage.core.alert.AlertDelivery;
18 import org.jmanage.core.alert.AlertInfo;
19
20 /**
21  *
22  * Date: Jul 1, 2005
23  * @author Rakesh Kalra
24  */

25 public class ConsoleDelivery implements AlertDelivery {
26
27     public void deliver(AlertInfo alertInfo) {
28         ConsoleAlerts.getInstance().add(alertInfo);
29     }
30 }
31
Popular Tags