org.ow2.easybeans.api
Interface EZBJ2EEManagedObject

All Known Subinterfaces:
EZBContainer, EZBServer, EZBStatefulSessionFactory<PoolType,Clue>, Factory<PoolType,Clue>

public interface EZBJ2EEManagedObject

This interface represents an EasyBeans EJB Container.

Author:
missonng

Method Summary
<T extends EZBComponent>
T
getComponent(Class<T> itf)
          Get a reference to the first component matching the interface.
 String getJ2EEManagedObjectId()
          Get the J2EE managed object id.
 

Method Detail

getJ2EEManagedObjectId

String getJ2EEManagedObjectId()
Get the J2EE managed object id.

Returns:
The J2EE managed object id.

getComponent

<T extends EZBComponent> T getComponent(Class<T> itf)
Get a reference to the first component matching the interface.

Type Parameters:
T - The interface type.
Parameters:
itf - The interface class.
Returns:
The component.


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