org.ow2.easybeans.api.binding
Interface EZBRef

All Superinterfaces:
Referenceable

public interface EZBRef
extends Referenceable

EasyBeans reference used for each factory that produces EJB proxies. This is the root interface.

Author:
Florent BENOIT Contributors: S. Ali Tokmen (JNDI naming strategy)

Method Summary
 Factory<?,?> getFactory()
          Gets the factory of this reference.
 String getItfClassName()
          Gets the interface class name.
 List<EZBJNDINamingInfo> getJNDINamingInfos()
          Gets the JNDI naming info of this reference.
 Reference getReference()
          Retrieves the Reference of this object.
 void setFactory(Factory<?,?> factory)
          Sets the factory of this reference.
 

Method Detail

getItfClassName

String getItfClassName()
Gets the interface class name.

Returns:
the name of the interface.

getJNDINamingInfos

List<EZBJNDINamingInfo> getJNDINamingInfos()
Gets the JNDI naming info of this reference.

Returns:
the JNDI naming informations.

getFactory

Factory<?,?> getFactory()
Gets the factory of this reference.

Returns:
the factory linked to this reference object.

setFactory

void setFactory(Factory<?,?> factory)
Sets the factory of this reference.

Parameters:
factory - the given factory.

getReference

Reference getReference()
                       throws NamingException
Retrieves the Reference of this object.

Specified by:
getReference in interface Referenceable
Returns:
The non-null Reference of this object.
Throws:
NamingException - If a naming exception was encountered while retrieving the reference.


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.