KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > logging > jdk > handlers > HandlerSkeleton


1 /*
2  * Copyright (c) 2005 Your Corporation. All Rights Reserved.
3  */

4 package org.jboss.logging.jdk.handlers;
5
6 import java.util.logging.Handler JavaDoc;
7
8 /**
9  * @author Scott.Stark@jboss.org
10  * @version $Revision: 1958 $
11  */

12 public abstract class HandlerSkeleton extends Handler JavaDoc
13 {
14    protected String JavaDoc name;
15
16    public String JavaDoc getName()
17    {
18       return name;
19    }
20
21    public void setName(String JavaDoc name)
22    {
23       this.name = name;
24    }
25
26    public void activateOptions()
27    {
28    }
29
30    protected void debug(String JavaDoc msg)
31    {
32       System.out.println(msg);
33    }
34 }
35
Popular Tags