com.onewebsql.util.jndi
Interface JndiOp<T>

Type Parameters:
T - result type of the operation.
All Known Implementing Classes:
FindNamesOp, GetUserTransactionOp, LookupOp

public interface JndiOp<T>

Interface for any operation required to execute in JNDI context.


Method Summary
 T invoke(Context ctx)
          Invokes an operation which needs access to JNDI context.
 

Method Detail

invoke

T invoke(Context ctx)
         throws NamingException
Invokes an operation which needs access to JNDI context.

Parameters:
ctx - JNDI context
Returns:
result of the operation
Throws:
NamingException - when an error happens


Copyright © 2011-2013 e-point SA. All Rights Reserved.