|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.screamingcoder.plebeians.example.simple.HelloWorld
public class HelloWorld
The "main" class of this app. Because it is annotated with @Main, this class will be instanciated automatically by the Plebeians StartMain class. As per the Web Beans spec the @Initializer method will then be called, which will print a hello message using the injected firstName.
| Constructor Summary | |
|---|---|
HelloWorld()
|
|
| Method Summary | |
|---|---|
void |
printHello(java.lang.String firstName)
Prints a hello message using the given first name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HelloWorld()
| Method Detail |
|---|
@Initializer
public void printHello(@Current
java.lang.String firstName)
firstName - The first name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||