官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "It is also important to bear in mind that the @Electronic qualifier identifies the decorated object."

A block of code is set as follows:

public interface Engineering {
List<String> getDisciplines ();
}
public class BasicEngineering implements Engineering {

@Override
public List<String> getDisciplines() {
return Arrays.asList("d7", "d3");
}
}
@Electronic
public class ElectronicEngineering extends BasicEngineering {
...
}
@Mechanical
public class MechanicalEngineering extends BasicEngineering {
...
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

@Loggable
@Interceptor
public class LoggedInterceptor implements Serializable {

@AroundInvoke
public Object logMethod (InvocationContext invocationContext) throws
Exception{
System.out.println("Entering method : "
+ invocationContext.getMethod().getName() + " "
+ invocationContext.getMethod().getDeclaringClass()
);
return invocationContext.proceed();
}
}

Any command-line input or output is written as follows:

creating bean.
intercepting post construct of bean.
post construct of bean

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "After the user logs in, when they access Application 1Application 2, or Application 3, they will not need to log in again. "

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 上饶市| 姜堰市| 长海县| 怀柔区| 宣汉县| 漾濞| 赣州市| 荔波县| 安龙县| 龙江县| 吴堡县| 六枝特区| 休宁县| 崇仁县| 喜德县| 肇东市| 澄江县| 丰县| 马山县| 西贡区| 同江市| 招远市| 扎囊县| 九龙城区| 青河县| 西吉县| 南宫市| 大名县| 通道| 图木舒克市| 宝丰县| 含山县| 翼城县| 辛集市| 安康市| 祥云县| 鄢陵县| 济宁市| 德清县| 漳州市| 新营市|