org.jboss.cdi.tck.tests.decorators.definition.lifecycle
Class ChargeDecorator
java.lang.Object
org.jboss.cdi.tck.tests.decorators.definition.lifecycle.ChargeDecorator
- All Implemented Interfaces:
- Serializable, BankAccount
@Decorator
public abstract class ChargeDecorator
- extends Object
- implements BankAccount, Serializable
Decorator is a managed bean and may use the PostConstruct and PreDestroy annotations to identify methods to
be called back by the container at the appropriate points in the bean’s lifecycle.
- Author:
- Martin Kouba
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
charged
public static int charged
ChargeDecorator
public ChargeDecorator()
withdraw
public void withdraw(int amount)
- Specified by:
withdraw in interface BankAccount
reset
public static void reset()
postConstruct
@PostConstruct
public void postConstruct()
preDestroy
@PreDestroy
public void preDestroy()
Copyright © 2008-2012 Seam Framework. All Rights Reserved.