Package com.sun.enterprise.transaction
Class TransactionNamingProxy
- java.lang.Object
-
- com.sun.enterprise.transaction.TransactionNamingProxy
-
- All Implemented Interfaces:
NamedNamingObjectProxy
@Service public class TransactionNamingProxy extends Object implements NamedNamingObjectProxy
Proxy for creating JTA instances that get registered in the naming manager. NamingManager will call the handle() method when the JNDI name is looked up. Will return the instance that corresponds to the known name.- Author:
- Marina Vatkina
-
-
Constructor Summary
Constructors Constructor Description TransactionNamingProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
handle(String name)
Returns the name that will be used to publish this object in the naming manager
-
-
-
Method Detail
-
handle
public Object handle(String name) throws NamingException
Description copied from interface:NamedNamingObjectProxy
Returns the name that will be used to publish this object in the naming manager- Specified by:
handle
in interfaceNamedNamingObjectProxy
- Returns:
- the name to bind
- Throws:
NamingException
-
-