| At line 12 added 6 lines. |
| In NetBeans the interceptor configuration file can be generated, by right clicking on the Interceptor Project and then selecting Custom->Generate Artifacts |
| \\ |
| [{Image src='GeneratedArtifacts.jpg' width='1200' height='' align='left|center|right' }] |
| \\ |
| The step above generates a configuration properties file, this file contains the scope definition as defined in the interceptor @Intercept annotation. For the interceptor defined in the above project the generate file is as follows: |
| [{Image src='GeneratedConfiguration.jpg' width='1200' height='' align='left|center|right' }] |
| At line 13 removed 2 lines. |
| [{Image src='GenerateArtifacts.tif' width='' height='' align='left|center|right' }] |
| At line 20 added 3 lines. |
| \\ |
| A developer can update the scope definition and/or add new configuration for the interceptor. "myTimeout" is one such uder defined field which is being added by updating the configuration file below : |
| [{Image src='UpdatedConfiguration.jpg' width='1200' height='' align='left|center|right' }] |
| At line 25 added 6 lines. |
| \\ |
| The interceptor properties file is packaged with the interceptor bundled when it's built : |
| [{Image src='CleanAndBuildInterceptor.jpg' width='1200' height='' align='left|center|right' }] |
| \\ |