org.tynamo.jpa.internal
Class JPATransactionDecoratorImpl
java.lang.Object
org.tynamo.jpa.internal.JPATransactionDecoratorImpl
- All Implemented Interfaces:
- JPATransactionDecorator
public class JPATransactionDecoratorImpl
- extends Object
- implements JPATransactionDecorator
Method Summary |
|
build(Class<T> serviceInterface,
T delegate,
String serviceId)
Builds a transaction interceptor instance around the delegate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPATransactionDecoratorImpl
public JPATransactionDecoratorImpl(org.apache.tapestry5.ioc.services.AspectDecorator aspectDecorator,
JPATransactionAdvisor advisor)
build
public <T> T build(Class<T> serviceInterface,
T delegate,
String serviceId)
- Description copied from interface:
JPATransactionDecorator
- Builds a transaction interceptor instance around the delegate.
- Specified by:
build
in interface JPATransactionDecorator
- Parameters:
serviceInterface
- interface implemented by the delegatedelegate
- existing object to be wrappedserviceId
- id of service
- Returns:
- a new object implementing the interface that can be used in place of the delegate,
providing transactional behavior
Copyright © 2009-2010. All Rights Reserved.