Function LifeCycleListeners.attach

Send the attachment to all listeners

void attach (
  ref const(Attachment) attachment
);