|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEnvironment
Environment used by beans.
| Method Summary | |
|---|---|
void |
addAroundInvoke(IAroundInvoke aroundInvoke)
Adds a new <around-invoke> element to assembly descriptor. |
void |
addDataSource(IDataSource dataSource)
|
void |
addEJBLocalRef(IEJBLocalRef ejLocalRef)
Adds a new <ejb-local-ref> element. |
void |
addEJBRef(IEJBRef ejbRef)
Adds a new <ejb-ref> element. |
void |
addEnvEntry(IEnvEntry envEntry)
Add a new env-entry element to this object. |
void |
addMessageDestinationRef(IMessageDestinationRef messageDestinationRef)
Adds a new <message-destination-ref> element. |
void |
addPersistenceContextRef(IPersistenceContextRef persistenceContextRef)
Adds a new <persistence-context-ref> element. |
void |
addPersistenceUnitRef(IPersistenceUnitRef persistenceUnitRef)
Adds a new <persistence-unit-ref> element. |
void |
addPostActivateCallback(ILifeCycleCallback postActivateCallback)
Adds a new <post-activate> element to assembly descriptor. |
void |
addPostConstructCallback(ILifeCycleCallback postConstructCallback)
Adds a new <post-construct> element to assembly descriptor. |
void |
addPreDestroyCallback(ILifeCycleCallback preDestroyCallback)
Adds a new <pre-destroy> element to assembly descriptor. |
void |
addPrePassivateCallback(ILifeCycleCallback prePassivateCallback)
Adds a new <pre-passivate> element to assembly descriptor. |
void |
addResourceEnvRef(IResourceEnvRef resourceEnvRef)
Adds a new <resource-ref> element. |
void |
addResourceRef(IResourceRef resourceRef)
Adds a new <resource-ref> element. |
void |
addSecurityRoleRef(ISecurityRoleRef securityRoleRef)
Adds a new <security-role-ref> element. |
void |
addServiceRef(IServiceRef serviceRef)
Adds a new <service-ref> element. |
List<IAroundInvoke> |
getAroundInvokeList()
Gets the list of <around-invoke> elements. |
List<IDataSource> |
getDataSourceList()
|
List<IEJBLocalRef> |
getEJBLocalRefList()
Gets the list of <ejb-local-ref> elements. |
List<IEJBRef> |
getEJBRefList()
Gets the list of <ejb-ref> elements. |
List<IEnvEntry> |
getEnvEntryList()
|
List<IMessageDestinationRef> |
getMessageDestinationRefList()
Gets the list of <message-destination-ref> elements. |
List<IPersistenceContextRef> |
getPersistenceContextRefList()
Gets the list of <persistence-context-ref> elements. |
List<IPersistenceUnitRef> |
getPersistenceUnitRefList()
Gets the list of <persistence-unit-ref> elements. |
List<ILifeCycleCallback> |
getPostActivateCallbackList()
Gets the list of <post-activate> elements. |
List<ILifeCycleCallback> |
getPostConstructCallbackList()
Gets the list of <post-construct> elements. |
List<ILifeCycleCallback> |
getPreDestroyCallbackList()
Gets the list of <pre-destroy> elements. |
List<ILifeCycleCallback> |
getPrePassivateCallbackList()
Gets the list of <pre-passivate> elements. |
List<IResourceEnvRef> |
getResourceEnvRefList()
Gets the list of <resource-env-ref> elements. |
List<IResourceRef> |
getResourceRefList()
Gets the list of <resource-ref> elements. |
List<ISecurityRoleRef> |
getSecurityRoleRefList()
Gets the list of <security-role-ref> elements. |
List<IServiceRef> |
getServiceRefList()
Gets the list of <service-ref> elements. |
| Method Detail |
|---|
void addEnvEntry(IEnvEntry envEntry)
envEntry - the ejb-ref objectList<IEnvEntry> getEnvEntryList()
List<IAroundInvoke> getAroundInvokeList()
void addAroundInvoke(IAroundInvoke aroundInvoke)
aroundInvoke - the <around-invoke> elementList<ILifeCycleCallback> getPostConstructCallbackList()
void addPostConstructCallback(ILifeCycleCallback postConstructCallback)
postConstructCallback - the <post-construct> elementList<ILifeCycleCallback> getPostActivateCallbackList()
void addPostActivateCallback(ILifeCycleCallback postActivateCallback)
postActivateCallback - the <post-activate> elementList<ILifeCycleCallback> getPreDestroyCallbackList()
void addPreDestroyCallback(ILifeCycleCallback preDestroyCallback)
preDestroyCallback - the <pre-destroy> elementList<ILifeCycleCallback> getPrePassivateCallbackList()
void addPrePassivateCallback(ILifeCycleCallback prePassivateCallback)
prePassivateCallback - the <pre-passivate> elementList<IEJBRef> getEJBRefList()
void addEJBRef(IEJBRef ejbRef)
ejbRef - the <ejb-ref> elementList<IResourceRef> getResourceRefList()
void addResourceRef(IResourceRef resourceRef)
resourceRef - the <resource-ref> elementList<IMessageDestinationRef> getMessageDestinationRefList()
void addMessageDestinationRef(IMessageDestinationRef messageDestinationRef)
messageDestinationRef - the <message-destination-ref> elementList<IServiceRef> getServiceRefList()
void addServiceRef(IServiceRef serviceRef)
serviceRef - the <service-ref> elementList<IResourceEnvRef> getResourceEnvRefList()
void addResourceEnvRef(IResourceEnvRef resourceEnvRef)
resourceEnvRef - the <resource-ref> elementList<IEJBLocalRef> getEJBLocalRefList()
void addEJBLocalRef(IEJBLocalRef ejLocalRef)
ejLocalRef - the <ejb-local-ref> elementList<IPersistenceUnitRef> getPersistenceUnitRefList()
void addPersistenceUnitRef(IPersistenceUnitRef persistenceUnitRef)
persistenceUnitRef - the <persistence-unit-ref> elementList<IPersistenceContextRef> getPersistenceContextRefList()
void addPersistenceContextRef(IPersistenceContextRef persistenceContextRef)
persistenceContextRef - the <persistence-context-ref> elementList<ISecurityRoleRef> getSecurityRoleRefList()
void addSecurityRoleRef(ISecurityRoleRef securityRoleRef)
ejLocalRef - the <security-role-ref> elementList<IDataSource> getDataSourceList()
void addDataSource(IDataSource dataSource)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||