src/test/resources/DefaultHello.bsh
raw| 1 | import org.codehaus.plexus.component.factory.bsh.Hello; |
| 2 | |
| 3 | contextualize( context ) |
| 4 | { |
| 5 | System.out.println( "contextualize(context): " + context ); |
| 6 | } |
| 7 | |
| 8 | initialize() |
| 9 | { |
| 10 | System.out.println( "initialize()" ); |
| 11 | } |
| 12 | |
| 13 | start() |
| 14 | { |
| 15 | System.out.println( "start()" ); |
| 16 | } |
| 17 | |
| 18 | stop() |
| 19 | { |
| 20 | System.out.println( "stop()" ); |
| 21 | } |
| 22 | |
| 23 | dispose() |
| 24 | { |
| 25 | System.out.println( "dispose()" ); |
| 26 | } |
| 27 | |
| 28 | hello() |
| 29 | { |
| 30 | System.out.println( "hello!" ); |
| 31 | } |
| 32 | |
| 33 | return (Hello)this; |