KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > ui > web > admin > services > servicetypes > WorkerType


1 /*************************************************************************
2  * *
3  * EJBCA: The OpenSource Certificate Authority *
4  * *
5  * This software is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU Lesser General Public *
7  * License as published by the Free Software Foundation; either *
8  * version 2.1 of the License, or any later version. *
9  * *
10  * See terms of license at gnu.org. *
11  * *
12  *************************************************************************/

13 package org.ejbca.ui.web.admin.services.servicetypes;
14
15 import java.util.Collection JavaDoc;
16
17
18 /**
19  * Class representing an Worker Type, should be registered in the
20  * ServiceTypesManager. Should be inhereted by all worker managed beans.
21  *
22  * Defines which actions and interval that are compatible with this worker
23  *
24  * @author Philip Vendil 2006 sep 29
25  *
26  * @version $Id: WorkerType.java,v 1.1 2006/10/01 17:46:47 herrvendil Exp $
27  */

28 public abstract class WorkerType extends ServiceType {
29
30
31     
32     public WorkerType(String JavaDoc subViewPage, String JavaDoc name, boolean translatable) {
33         super(subViewPage, name, translatable);
34     }
35
36     /**
37      * @return the names of the Compatible Action Types
38      */

39     public abstract Collection JavaDoc getCompatibleActionTypeNames();
40
41     /**
42      * @return the names of the Compatible Interval Types
43      */

44     public abstract Collection JavaDoc getCompatibleIntervalTypeNames();
45
46 }
47
Popular Tags