RC android: load bundle classes from library
[platform/upstream/iotivity.git] / service / resource-container / android / resource-container / src / main / java / org / iotivity / service / resourcecontainer / RcsResourceContainerBundleAPI.java
1 //******************************************************************
2 //
3 // Copyright 2015 Samsung Electronics All Rights Reserved.
4 //
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 //
7 // Licensed under the Apache License, Version 2.0 (the "License");
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //      http://www.apache.org/licenses/LICENSE-2.0
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an "AS IS" BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
20
21
22 /**
23  * @file
24  * This file contains the Resource Container APIs
25  */
26 package org.iotivity.service.resourcecontainer;
27
28 import java.util.List;
29 import java.util.Map;
30 import java.util.Vector;
31
32 /**
33  * This class provides APIs for managing the container and bundles in the
34  * container. The container provides such an interface to the bundle developer
35  * to access the configuration and to register/unregister resources.
36  */
37 public interface RcsResourceContainerBundleAPI{
38
39     public void registerResource(String bundleId, BundleResource resource);
40
41     public void unregisterResource(BundleResource resource);
42
43     public List<ResourceConfig> getConfiguredBundleResources(String bundleId);
44 }