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

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.
主站蜘蛛池模板: 和林格尔县| 抚州市| 迁安市| 安龙县| 从江县| 大新县| 若尔盖县| 和田市| 黄龙县| 武强县| 台东县| 安多县| 奉节县| 安达市| 高尔夫| 文山县| 江山市| 花垣县| 长治市| 无为县| 印江| 河源市| 健康| 米林县| 阳原县| 盐边县| 长寿区| 迁西县| 杭州市| 沙坪坝区| 碌曲县| 麻城市| 城固县| 拜城县| 全南县| 柳江县| 都匀市| 景东| 阿克苏市| 乐都县| 会宁县|