}
else if ("endpointActivation".equals(actionName))
{
if (params.length != 2)
throw new IllegalArgumentException("Wrong number of parameters for " + actionName);
MessageEndpointFactory messageEndpointFactory = (MessageEndpointFactory) params[0];
ActivationSpec activationSpec = (ActivationSpec) params[1];
endpointActivation(messageEndpointFactory, activationSpec);
}
else if ("endpointDeactivation".equals(actionName))
{
if (params.length != 2)
throw new IllegalArgumentException("Wrong number of parameters for " + actionName);
MessageEndpointFactory messageEndpointFactory = (MessageEndpointFactory) params[0];
ActivationSpec activationSpec = (ActivationSpec) params[1];
endpointDeactivation(messageEndpointFactory, activationSpec);
}
return result;