JBoss EJB client 1.0.3.Final

org.jboss.ejb.client
Interface ContextSelector<T>

Type Parameters:
T - the context type
All Known Implementing Classes:
ConfigBasedEJBClientContextSelector, ConstantContextSelector, ThreadLocalContextSelector

public interface ContextSelector<T>

A selector for a given context.

Author:
David M. Lloyd

Method Summary
 T getCurrent()
          Get the current instance, returning null if none are valid in the current context.
 

Method Detail

getCurrent

T getCurrent()
Get the current instance, returning null if none are valid in the current context.

Returns:
the instance, or null if there is none

JBoss EJB client 1.0.3.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.