|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EJBHost
Interface implemented by host environments that allow EJBs to be registered.
This interface allows a system service to register an EJB session bean to handle inbound requests.
Method Summary | |
---|---|
void |
addSessionBean(java.lang.String ejbName,
EJBSessionBean sessionBean)
Add an EJB session bean. |
EJBSessionBean |
getSessionBean(java.lang.String ejbName)
Returns the EJB session bean descriptor registered under the given EJB name. |
EJBSessionBean |
removeSessionBean(java.lang.String ejbName)
Remove an EJB session bean. |
Method Detail |
---|
void addSessionBean(java.lang.String ejbName, EJBSessionBean sessionBean) throws EJBRegistrationException
ejbName
- the EJB namesessionBean
- the EJB session bean descriptor
EJBRegistrationException
EJBSessionBean removeSessionBean(java.lang.String ejbName) throws EJBRegistrationException
ejbName
- the EJB name
EJBRegistrationException
EJBSessionBean getSessionBean(java.lang.String ejbName) throws EJBRegistrationException
ejbName
- the EJB name
EJBRegistrationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |