@Decorator public abstract class ChargeDecorator extends Object implements BankAccount, Serializable
PostConstruct and PreDestroy annotations to identify methods to
be called back by the container at the appropriate points in the bean’s lifecycle.| Modifier and Type | Field and Description |
|---|---|
static int |
charged |
| Constructor and Description |
|---|
ChargeDecorator() |
| Modifier and Type | Method and Description |
|---|---|
void |
postConstruct() |
void |
preDestroy() |
static void |
reset() |
void |
withdraw(int amount) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeposit, getBalancepublic void withdraw(int amount)
withdraw in interface BankAccountpublic static void reset()
@PostConstruct public void postConstruct()
@PreDestroy public void preDestroy()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.