public static < A > A getOptionalAttachment ( final Deployment dep , final Class < A > key ) { return dep . getAttachment ( key ) ; }
Returns optional attachment value from webservice deployment or null if not bound .