@ ConditionalOnClass ( { Context . class , DataLinkType . class } ) //@ConditionalOnBean(Context.class) @ Bean ( DATALINK_TYPE_BEAN_NAME ) public DataLinkType dataLinkType ( @ Qualifier ( CONTEXT_BEAN_NAME ) Context context ) { DataLinkType dataLinkType = context . pcapDataLink ( ) ; if ( LOGGER . isDebugEnabled ( ) ) { LOGGER . debug ( "Datalink type: {}." , dataLinkType ) ; } return dataLinkType ; }
A handle link type .