// Dynamically add the service endpoint interceptor
// http://jira.jboss.org/jira/browse/JBWS-758
try
{
EjbModule ejbModule = (EjbModule)server.getAttribute(objectName, "EjbModule");
StatelessSessionContainer container = (StatelessSessionContainer)ejbModule.getContainer(ejbName);
boolean injectionPointFound = false;
Interceptor prev = container.getInterceptor();
while (prev != null && prev.getNext() != null)
{
Interceptor next = prev.getNext();
if (next.getNext() == null)
{