Methods Summary |
---|
public void | load()
ConfigBean[][] cb = null;
try {
ResourcesUtil resourceUtil = ResourcesUtil.createInstance();
cb = resourceUtil.getConnectorResources();
if(cb != null)
load(cb);
}
catch(ConfigException ce) {
_logger.log(Level.SEVERE,"core.connectorresource_read_error" );
_logger.log(Level.SEVERE,"" ,ce);
}
|
public void | load(java.lang.String rarName)
ConfigBean[][] cb = null;
try {
ResourcesUtil resourceUtil = ResourcesUtil.createInstance();
cb = resourceUtil.getAllConnectorResourcesForRar(rarName);
if(cb != null)
load(cb);
}
catch(ConfigException ce) {
_logger.log(Level.SEVERE,"core.connectorresource_read_error" );
_logger.log(Level.SEVERE,"" ,ce);
}
|
public void | loadConnectorResources()
ConfigBean[][] cb = null;
try {
ResourcesUtil resourceUtil = ResourcesUtil.createInstance();
cb = resourceUtil.getStandAloneNonSystemRarConnectorResourcesWithoutRAConfigs();
if(cb != null)
load(cb);
}
catch(ConfigException ce) {
_logger.log(Level.SEVERE,"core.connectorresource_read_error" );
_logger.log(Level.SEVERE,"" ,ce);
}
|
public void | loadEmbeddedRarRAConfigs(java.lang.String appName)
ConfigBean[][] cb = new ConfigBean[1][];;
try {
ResourcesUtil resourceUtil = ResourcesUtil.createInstance();
ConfigBean[] raConfBeans =
resourceUtil.getEmbeddedRarResourceAdapterConfigs(appName);
if(raConfBeans != null) {
cb[0] = raConfBeans;
load(cb);
}
}
catch(ConfigException ce) {
_logger.log(Level.SEVERE,"core.connectorresource_read_error" );
_logger.log(Level.SEVERE,"" ,ce);
}
|
public void | loadEmbeddedRarResources(java.lang.String appName, Application appDesc)
Set rars = appDesc.getRarDescriptors();
for (Iterator itr = rars.iterator(); itr.hasNext();) {
ConnectorDescriptor cd = (ConnectorDescriptor) itr.next();
String rarName = cd.getDeployName();
String embeddedRarName = appName+
ConnectorConstants.EMBEDDEDRAR_NAME_DELIMITER+
FileUtils.makeFriendlyFilenameNoExtension(rarName);
load(embeddedRarName);
}
|
public void | loadRAConfigs()
ConfigBean[][] cb = new ConfigBean[1][];;
try {
ConfigBean[] raConfBeans = ResourcesUtil.createInstance().getResourceAdapterConfigs();
if(raConfBeans != null) {
cb[0] = raConfBeans;
load(cb);
}
}
catch(ConfigException ce) {
_logger.log(Level.SEVERE,"core.connectorresource_read_error" );
_logger.log(Level.SEVERE,"" ,ce);
}
|
public void | loadRAConfigs(java.lang.String rarName)
ConfigBean[][] cb = new ConfigBean[1][];;
try {
ResourcesUtil resourceUtil = ResourcesUtil.createInstance();
ConfigBean[] raConfBeans = resourceUtil.getResourceAdapterConfigs(rarName);
if(raConfBeans != null) {
cb[0] = raConfBeans;
load(cb);
}
}
catch(ConfigException ce) {
_logger.log(Level.SEVERE,"core.connectorresource_read_error" );
_logger.log(Level.SEVERE,"" ,ce);
}
|
public void | stopActiveResourceAdapters()
ConnectorRuntime.stopAllActiveResourceAdapters();
|