|
||||||||||
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 | |
---|---|
ConsumerBeanType<EnterpriseBeansType<T>> |
createConsumer()
Creates a new consumer element |
GenericBeanType<EnterpriseBeansType<T>> |
createEjb()
Creates a new ejb element |
MessageDrivenBeanType<EnterpriseBeansType<T>> |
createMessageDriven()
Creates a new message-driven element |
ServiceBeanType<EnterpriseBeansType<T>> |
createService()
Creates a new service element |
SessionBeanType<EnterpriseBeansType<T>> |
createSession()
Creates a new session element |
List<ConsumerBeanType<EnterpriseBeansType<T>>> |
getAllConsumer()
Returns all consumer elements |
List<GenericBeanType<EnterpriseBeansType<T>>> |
getAllEjb()
Returns all ejb elements |
List<MessageDrivenBeanType<EnterpriseBeansType<T>>> |
getAllMessageDriven()
Returns all message-driven elements |
List<ServiceBeanType<EnterpriseBeansType<T>>> |
getAllService()
Returns all service elements |
List<SessionBeanType<EnterpriseBeansType<T>>> |
getAllSession()
Returns all session elements |
String |
getId()
Returns the id attribute |
ConsumerBeanType<EnterpriseBeansType<T>> |
getOrCreateConsumer()
If not already created, a new consumer element will be created and returned. |
GenericBeanType<EnterpriseBeansType<T>> |
getOrCreateEjb()
If not already created, a new ejb element will be created and returned. |
MessageDrivenBeanType<EnterpriseBeansType<T>> |
getOrCreateMessageDriven()
If not already created, a new message-driven element will be created and returned. |
ServiceBeanType<EnterpriseBeansType<T>> |
getOrCreateService()
If not already created, a new service 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> |
id(String id)
Sets the id attribute |
EnterpriseBeansType<T> |
removeAllConsumer()
Removes all consumer elements |
EnterpriseBeansType<T> |
removeAllEjb()
Removes all ejb elements |
EnterpriseBeansType<T> |
removeAllMessageDriven()
Removes all message-driven elements |
EnterpriseBeansType<T> |
removeAllService()
Removes all service elements |
EnterpriseBeansType<T> |
removeAllSession()
Removes all session elements |
EnterpriseBeansType<T> |
removeId()
Removes the id attribute |
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>
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>
ServiceBeanType<EnterpriseBeansType<T>> getOrCreateService()
service
element will be created and returned.
Otherwise, the first existing service
element will be returned.
service
ServiceBeanType<EnterpriseBeansType<T>> createService()
service
element
ServiceBeanType>
List<ServiceBeanType<EnterpriseBeansType<T>>> getAllService()
service
elements
service
EnterpriseBeansType<T> removeAllService()
service
elements
ServiceBeanType>
ConsumerBeanType<EnterpriseBeansType<T>> getOrCreateConsumer()
consumer
element will be created and returned.
Otherwise, the first existing consumer
element will be returned.
consumer
ConsumerBeanType<EnterpriseBeansType<T>> createConsumer()
consumer
element
ConsumerBeanType>
List<ConsumerBeanType<EnterpriseBeansType<T>>> getAllConsumer()
consumer
elements
consumer
EnterpriseBeansType<T> removeAllConsumer()
consumer
elements
ConsumerBeanType>
GenericBeanType<EnterpriseBeansType<T>> getOrCreateEjb()
ejb
element will be created and returned.
Otherwise, the first existing ejb
element will be returned.
ejb
GenericBeanType<EnterpriseBeansType<T>> createEjb()
ejb
element
GenericBeanType>
List<GenericBeanType<EnterpriseBeansType<T>>> getAllEjb()
ejb
elements
ejb
EnterpriseBeansType<T> removeAllEjb()
ejb
elements
GenericBeanType>
EnterpriseBeansType<T> id(String id)
id
attribute
id
- the value for the attribute id
EnterpriseBeansType
String getId()
id
attribute
id
EnterpriseBeansType<T> removeId()
id
attribute
EnterpriseBeansType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |