01: /*
02: * Copyright 2007 The Kuali Foundation
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.kuali.rice.resourceloader.management;
17:
18: import org.kuali.rice.lifecycle.Lifecycle;
19:
20: /**
21: * Defines the simple MBean interface for ResourceLoader management.
22: *
23: * @author Kuali Rice Team (kuali-rice@googlegroups.com)
24: */
25: public interface ResourceLoaderWrapperMBean extends Lifecycle {
26:
27: /**
28: * Retrieve the name of the ResourceLoader.
29: */
30: public String getName();
31:
32: /**
33: * Set the name of the ResourceLoader
34: */
35: public void setName(String name);
36:
37: /**
38: * Retrieves the names of all the children of the resource loader.
39: */
40: public String[] getChildren();
41:
42: /**
43: * Returns the type of the resource loader (it's fully qualified java classname)
44: */
45: public String getType();
46:
47: /**
48: * Returns a string representation of the hierarchy of resource loaders beneath this resource loader.
49: */
50: public String examineContents();
51:
52: /**
53: * Dumps the contents of the resource loader to standard output.
54: */
55: public void dumpContents();
56:
57: /**
58: * Returns true if the service with the given namespace URI and local part exists in this resource loader
59: */
60: public boolean hasService(String namespaceUri, String localPart);
61:
62: }
|