KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > fortress > ContainerManagerConstants


1 /*
2  * Copyright 2003-2004 The Apache Software Foundation
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12  * implied.
13  *
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17
18 package org.apache.avalon.fortress;
19
20 import org.apache.avalon.framework.logger.Logger;
21 import org.apache.avalon.framework.service.ServiceManager;
22 import org.apache.excalibur.event.command.CommandFailureHandler;
23
24 /**
25  * Provides constants used to access the Context object for impl
26  * managers. A impl manager can assume that all these elements are
27  * present in the initial context.
28  *
29  * @author <a HREF="mailto:dev@avalon.apache.org">Avalon Development Team</a>
30  * @version CVS $Revision: 1.11 $ $Date: 2004/02/28 15:16:24 $
31  */

32 public interface ContainerManagerConstants extends ContainerConstants
33 {
34     /**
35      * Class: The class of the impl.
36      */

37     String JavaDoc CONTAINER_CLASS = "impl.class";
38
39     /**
40      * Class: The class of the command failure handler impl.
41      */

42     String JavaDoc COMMAND_FAILURE_HANDLER_CLASS = CommandFailureHandler.class.getName();
43
44     /**
45      * ComponentLocator: The component manager to give to the impl.
46      */

47     String JavaDoc SERVICE_MANAGER = ServiceManager.class.getName();
48
49     /**
50      * Logger where to log our own messages.
51      */

52     String JavaDoc LOGGER = Logger.class.getName();
53
54     /**
55      * Configuration: The configuration to give to the impl.
56      */

57     String JavaDoc CONFIGURATION = "impl.configuration";
58
59     /**
60      * Parameters: The Parameters object to give to the impl.
61      */

62     String JavaDoc PARAMETERS = "impl.parameters";
63 }
64
Popular Tags