public class AppDiscoveryConfiguration extends Object
| Constructor and Description |
|---|
AppDiscoveryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getHandlersMap()
Returns a map of handler name-> class for available handlers
The resultant map is a one generated form internal data.
|
protected void |
load(InputStream inputStream)
Loads the configuration data from an XML which is in the given input stream
|
void |
load(String filePath)
Loads the discovery handler configuration from the given file path
Load method will reset the internal structure.
|
public Map<String,String> getHandlersMap()
public void load(String filePath) throws org.wso2.carbon.appmgt.api.AppManagementException
filePath - org.wso2.carbon.appmgt.api.AppManagementExceptionprotected void load(InputStream inputStream) throws org.wso2.carbon.appmgt.api.AppManagementException
inputStream - org.wso2.carbon.appmgt.api.AppManagementExceptionCopyright © 2017 WSO2. All rights reserved.