ObjectName targetON = getSslTargetObjectName(target, id, type);
if ("iiop-service".equals(type))
{
Config config = getConfigBeanForTarget(target);
IiopService iiopService = config.getIiopService();
SslClientConfig sslCfg = new SslClientConfig();
sslCfg.setXPath(sslCfg.getAbsoluteXPath(iiopService.getXPath()));
ManagedConfigBean mb = new ManagedConfigBean(
(ConfigBean)sslCfg, m_registry, getDomainName());
mb.createChildByType("ssl", al, null, true);
iiopService.setSslClientConfig(sslCfg);
return (ObjectName)ConfigMBeanHelper.getConfigBeanObjectName(
m_registry,
getDomainName(), sslCfg.getSsl());
}
checkElementDoesnotExist(targetON, "getSsl",
localStrings.getString("configsMBean.ssl_exists"));
ObjectName ret = (ObjectName)invoke1(targetON, "createSsl", al,
AttributeList.class.getName());