Creates a new outbound enabler configuration if it does not exist; otherwise updates the existing one.
void saveOutboundEnabler(OutboundEnablerVO outboundEnabler) throws com.sybase.sup.admin.exception.SUPAdminException
If successful, creates or updates the specified outbound enabler configuration. If unsuccessful, returns SUPAdminException .
Iterator<OutboundEnablerVO> iter = supServerConf .getOutboundEnablers().iterator(); if (!iter.hasNext()) return; //update a outbound enabler configuration OutboundEnablerVO oe1 = iter.next(); oe1.setUnwiredServerHost("<new host>"); supServerConf.saveOutboundEnabler(oe1);
//create a outbound enabler configuration OutboundEnablerVO oe2 = new OutboundEnablerVO(); OutboundEnablerVOBuilder bld = new OutboundEnablerVOBuilder(oe2); //copy setting from a existing one bld.copy(oe1); oe2.getServerNode(). setName("<a different host name from the one copied>"); supServerConf.saveOutboundEnabler(oe2);