|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnterpriseBeansType<T>
This interface defines the contract for the enterprise-beansType
xsd type
Method Summary | |
---|---|
EntityBeanType<EnterpriseBeansType<T>> |
createEntity()
Creates a new entity element |
MessageDrivenBeanType<EnterpriseBeansType<T>> |
createMessageDriven()
Creates a new message-driven element |
SessionBeanType<EnterpriseBeansType<T>> |
createSession()
Creates a new session element |
List<EntityBeanType<EnterpriseBeansType<T>>> |
getAllEntity()
Returns all entity elements |
List<MessageDrivenBeanType<EnterpriseBeansType<T>>> |
getAllMessageDriven()
Returns all message-driven elements |
List<SessionBeanType<EnterpriseBeansType<T>>> |
getAllSession()
Returns all session elements |
EntityBeanType<EnterpriseBeansType<T>> |
getOrCreateEntity()
If not already created, a new entity element will be created and returned. |
MessageDrivenBeanType<EnterpriseBeansType<T>> |
getOrCreateMessageDriven()
If not already created, a new message-driven element will be created and returned. |
SessionBeanType<EnterpriseBeansType<T>> |
getOrCreateSession()
If not already created, a new session element will be created and returned. |
EnterpriseBeansType<T> |
removeAllEntity()
Removes all entity elements |
EnterpriseBeansType<T> |
removeAllMessageDriven()
Removes all message-driven elements |
EnterpriseBeansType<T> |
removeAllSession()
Removes all session elements |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
SessionBeanType<EnterpriseBeansType<T>> getOrCreateSession()
session
element will be created and returned.
Otherwise, the first existing session
element will be returned.
session
SessionBeanType<EnterpriseBeansType<T>> createSession()
session
element
SessionBeanType>
List<SessionBeanType<EnterpriseBeansType<T>>> getAllSession()
session
elements
session
EnterpriseBeansType<T> removeAllSession()
session
elements
SessionBeanType>
EntityBeanType<EnterpriseBeansType<T>> getOrCreateEntity()
entity
element will be created and returned.
Otherwise, the first existing entity
element will be returned.
entity
EntityBeanType<EnterpriseBeansType<T>> createEntity()
entity
element
EntityBeanType>
List<EntityBeanType<EnterpriseBeansType<T>>> getAllEntity()
entity
elements
entity
EnterpriseBeansType<T> removeAllEntity()
entity
elements
EntityBeanType>
MessageDrivenBeanType<EnterpriseBeansType<T>> getOrCreateMessageDriven()
message-driven
element will be created and returned.
Otherwise, the first existing message-driven
element will be returned.
message-driven
MessageDrivenBeanType<EnterpriseBeansType<T>> createMessageDriven()
message-driven
element
MessageDrivenBeanType>
List<MessageDrivenBeanType<EnterpriseBeansType<T>>> getAllMessageDriven()
message-driven
elements
message-driven
EnterpriseBeansType<T> removeAllMessageDriven()
message-driven
elements
MessageDrivenBeanType>
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |