|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SessionBeanType
public class SessionBeanType
The session-beanType declares an session bean. The declaration consists of: - an optional description - an optional display name - an optional icon element that contains a small and a large icon file name - a name assigned to the enterprise bean in the deployment description - an optional mapped-name element that can be used to provide vendor-specific deployment information such as the physical jndi-name of the session bean's remote home/business interface. This element is not required to be supported by all implementations. Any use of this element is non-portable. - the names of all the remote or local business interfaces, if any - the names of the session bean's remote home and remote interfaces, if any - the names of the session bean's local home and local interfaces, if any - the name of the session bean's web service endpoint interface, if any - the session bean's implementation class - the session bean's state management type - an optional declaration of the session bean's timeout method. - the optional session bean's transaction management type. If it is not present, it is defaulted to Container. - an optional list of the session bean class and/or superclass around-invoke methods. - an optional declaration of the bean's environment entries - an optional declaration of the bean's EJB references - an optional declaration of the bean's local EJB references - an optional declaration of the bean's web service references - an optional declaration of the security role references - an optional declaration of the security identity to be used for the execution of the bean's methods - an optional declaration of the bean's resource manager connection factory references - an optional declaration of the bean's resource environment references. - an optional declaration of the bean's message destination references The elements that are optional are "optional" in the sense that they are omitted when if lists represented by them are empty. Either both the local-home and the local elements or both the home and the remote elements must be specified for the session bean. The service-endpoint element may only be specified if the bean is a stateless session bean.
Java class for session-beanType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="session-beanType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}ejb-nameType"/>
<element name="mapped-name" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
<element name="home" type="{http://java.sun.com/xml/ns/javaee}homeType" minOccurs="0"/>
<element name="remote" type="{http://java.sun.com/xml/ns/javaee}remoteType" minOccurs="0"/>
<element name="local-home" type="{http://java.sun.com/xml/ns/javaee}local-homeType" minOccurs="0"/>
<element name="local" type="{http://java.sun.com/xml/ns/javaee}localType" minOccurs="0"/>
<element name="business-local" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" maxOccurs="unbounded" minOccurs="0"/>
<element name="business-remote" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" maxOccurs="unbounded" minOccurs="0"/>
<element name="service-endpoint" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
<element name="ejb-class" type="{http://java.sun.com/xml/ns/javaee}ejb-classType" minOccurs="0"/>
<element name="session-type" type="{http://java.sun.com/xml/ns/javaee}session-typeType" minOccurs="0"/>
<element name="timeout-method" type="{http://java.sun.com/xml/ns/javaee}named-methodType" minOccurs="0"/>
<element name="init-method" type="{http://java.sun.com/xml/ns/javaee}init-methodType" maxOccurs="unbounded" minOccurs="0"/>
<element name="remove-method" type="{http://java.sun.com/xml/ns/javaee}remove-methodType" maxOccurs="unbounded" minOccurs="0"/>
<element name="transaction-type" type="{http://java.sun.com/xml/ns/javaee}transaction-typeType" minOccurs="0"/>
<element name="around-invoke" type="{http://java.sun.com/xml/ns/javaee}around-invokeType" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://java.sun.com/xml/ns/javaee}jndiEnvironmentRefsGroup"/>
<element name="post-activate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
<element name="pre-passivate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
<element name="security-role-ref" type="{http://java.sun.com/xml/ns/javaee}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
<element name="security-identity" type="{http://java.sun.com/xml/ns/javaee}security-identityType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Constructor Summary | |
|---|---|
SessionBeanType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SessionBeanType instance. |
|
SessionBeanType(SessionBeanType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SessionBeanType instance by copying a given instance. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DescriptionType[] description
protected DisplayNameType[] displayName
protected IconType[] icon
protected EjbNameType ejbName
protected XsdStringType mappedName
protected HomeType home
protected RemoteType remote
protected LocalHomeType localHome
protected LocalType local
protected FullyQualifiedClassType[] businessLocal
protected FullyQualifiedClassType[] businessRemote
protected FullyQualifiedClassType serviceEndpoint
protected EjbClassType ejbClass
protected SessionTypeType sessionType
protected NamedMethodType timeoutMethod
protected InitMethodType[] initMethod
protected RemoveMethodType[] removeMethod
protected TransactionTypeType transactionType
protected AroundInvokeType[] aroundInvoke
protected EnvEntryType[] envEntry
protected EjbRefType[] ejbRef
protected EjbLocalRefType[] ejbLocalRef
protected ServiceRefType[] serviceRef
protected ResourceRefType[] resourceRef
protected ResourceEnvRefType[] resourceEnvRef
protected MessageDestinationRefType[] messageDestinationRef
protected PersistenceContextRefType[] persistenceContextRef
protected PersistenceUnitRefType[] persistenceUnitRef
protected LifecycleCallbackType[] postConstruct
protected LifecycleCallbackType[] preDestroy
protected LifecycleCallbackType[] postActivate
protected LifecycleCallbackType[] prePassivate
protected SecurityRoleRefType[] securityRoleRef
protected SecurityIdentityType securityIdentity
protected String id
| Constructor Detail |
|---|
public SessionBeanType()
net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SessionBeanType instance.
public SessionBeanType(SessionBeanType o)
net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SessionBeanType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public DescriptionType[] getDescription()
DescriptionTypepublic DescriptionType getDescription(int idx)
DescriptionTypepublic int getDescriptionLength()
public void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
public DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypepublic DisplayNameType[] getDisplayName()
DisplayNameTypepublic DisplayNameType getDisplayName(int idx)
DisplayNameTypepublic int getDisplayNameLength()
public void setDisplayName(DisplayNameType[] values)
values - allowed objects are
DisplayNameType
public DisplayNameType setDisplayName(int idx,
DisplayNameType value)
value - allowed object is
DisplayNameTypepublic IconType[] getIcon()
IconTypepublic IconType getIcon(int idx)
IconTypepublic int getIconLength()
public void setIcon(IconType[] values)
values - allowed objects are
IconType
public IconType setIcon(int idx,
IconType value)
value - allowed object is
IconTypepublic EjbNameType getEjbName()
EjbNameTypepublic void setEjbName(EjbNameType value)
value - allowed object is
EjbNameTypepublic XsdStringType getMappedName()
XsdStringTypepublic void setMappedName(XsdStringType value)
value - allowed object is
XsdStringTypepublic HomeType getHome()
HomeTypepublic void setHome(HomeType value)
value - allowed object is
HomeTypepublic RemoteType getRemote()
RemoteTypepublic void setRemote(RemoteType value)
value - allowed object is
RemoteTypepublic LocalHomeType getLocalHome()
LocalHomeTypepublic void setLocalHome(LocalHomeType value)
value - allowed object is
LocalHomeTypepublic LocalType getLocal()
LocalTypepublic void setLocal(LocalType value)
value - allowed object is
LocalTypepublic FullyQualifiedClassType[] getBusinessLocal()
FullyQualifiedClassTypepublic FullyQualifiedClassType getBusinessLocal(int idx)
FullyQualifiedClassTypepublic int getBusinessLocalLength()
public void setBusinessLocal(FullyQualifiedClassType[] values)
values - allowed objects are
FullyQualifiedClassType
public FullyQualifiedClassType setBusinessLocal(int idx,
FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic FullyQualifiedClassType[] getBusinessRemote()
FullyQualifiedClassTypepublic FullyQualifiedClassType getBusinessRemote(int idx)
FullyQualifiedClassTypepublic int getBusinessRemoteLength()
public void setBusinessRemote(FullyQualifiedClassType[] values)
values - allowed objects are
FullyQualifiedClassType
public FullyQualifiedClassType setBusinessRemote(int idx,
FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic FullyQualifiedClassType getServiceEndpoint()
FullyQualifiedClassTypepublic void setServiceEndpoint(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic EjbClassType getEjbClass()
EjbClassTypepublic void setEjbClass(EjbClassType value)
value - allowed object is
EjbClassTypepublic SessionTypeType getSessionType()
SessionTypeTypepublic void setSessionType(SessionTypeType value)
value - allowed object is
SessionTypeTypepublic NamedMethodType getTimeoutMethod()
NamedMethodTypepublic void setTimeoutMethod(NamedMethodType value)
value - allowed object is
NamedMethodTypepublic InitMethodType[] getInitMethod()
InitMethodTypepublic InitMethodType getInitMethod(int idx)
InitMethodTypepublic int getInitMethodLength()
public void setInitMethod(InitMethodType[] values)
values - allowed objects are
InitMethodType
public InitMethodType setInitMethod(int idx,
InitMethodType value)
value - allowed object is
InitMethodTypepublic RemoveMethodType[] getRemoveMethod()
RemoveMethodTypepublic RemoveMethodType getRemoveMethod(int idx)
RemoveMethodTypepublic int getRemoveMethodLength()
public void setRemoveMethod(RemoveMethodType[] values)
values - allowed objects are
RemoveMethodType
public RemoveMethodType setRemoveMethod(int idx,
RemoveMethodType value)
value - allowed object is
RemoveMethodTypepublic TransactionTypeType getTransactionType()
TransactionTypeTypepublic void setTransactionType(TransactionTypeType value)
value - allowed object is
TransactionTypeTypepublic AroundInvokeType[] getAroundInvoke()
AroundInvokeTypepublic AroundInvokeType getAroundInvoke(int idx)
AroundInvokeTypepublic int getAroundInvokeLength()
public void setAroundInvoke(AroundInvokeType[] values)
values - allowed objects are
AroundInvokeType
public AroundInvokeType setAroundInvoke(int idx,
AroundInvokeType value)
value - allowed object is
AroundInvokeTypepublic EnvEntryType[] getEnvEntry()
EnvEntryTypepublic EnvEntryType getEnvEntry(int idx)
EnvEntryTypepublic int getEnvEntryLength()
public void setEnvEntry(EnvEntryType[] values)
values - allowed objects are
EnvEntryType
public EnvEntryType setEnvEntry(int idx,
EnvEntryType value)
value - allowed object is
EnvEntryTypepublic EjbRefType[] getEjbRef()
EjbRefTypepublic EjbRefType getEjbRef(int idx)
EjbRefTypepublic int getEjbRefLength()
public void setEjbRef(EjbRefType[] values)
values - allowed objects are
EjbRefType
public EjbRefType setEjbRef(int idx,
EjbRefType value)
value - allowed object is
EjbRefTypepublic EjbLocalRefType[] getEjbLocalRef()
EjbLocalRefTypepublic EjbLocalRefType getEjbLocalRef(int idx)
EjbLocalRefTypepublic int getEjbLocalRefLength()
public void setEjbLocalRef(EjbLocalRefType[] values)
values - allowed objects are
EjbLocalRefType
public EjbLocalRefType setEjbLocalRef(int idx,
EjbLocalRefType value)
value - allowed object is
EjbLocalRefTypepublic ServiceRefType[] getServiceRef()
ServiceRefTypepublic ServiceRefType getServiceRef(int idx)
ServiceRefTypepublic int getServiceRefLength()
public void setServiceRef(ServiceRefType[] values)
values - allowed objects are
ServiceRefType
public ServiceRefType setServiceRef(int idx,
ServiceRefType value)
value - allowed object is
ServiceRefTypepublic ResourceRefType[] getResourceRef()
ResourceRefTypepublic ResourceRefType getResourceRef(int idx)
ResourceRefTypepublic int getResourceRefLength()
public void setResourceRef(ResourceRefType[] values)
values - allowed objects are
ResourceRefType
public ResourceRefType setResourceRef(int idx,
ResourceRefType value)
value - allowed object is
ResourceRefTypepublic ResourceEnvRefType[] getResourceEnvRef()
ResourceEnvRefTypepublic ResourceEnvRefType getResourceEnvRef(int idx)
ResourceEnvRefTypepublic int getResourceEnvRefLength()
public void setResourceEnvRef(ResourceEnvRefType[] values)
values - allowed objects are
ResourceEnvRefType
public ResourceEnvRefType setResourceEnvRef(int idx,
ResourceEnvRefType value)
value - allowed object is
ResourceEnvRefTypepublic MessageDestinationRefType[] getMessageDestinationRef()
MessageDestinationRefTypepublic MessageDestinationRefType getMessageDestinationRef(int idx)
MessageDestinationRefTypepublic int getMessageDestinationRefLength()
public void setMessageDestinationRef(MessageDestinationRefType[] values)
values - allowed objects are
MessageDestinationRefType
public MessageDestinationRefType setMessageDestinationRef(int idx,
MessageDestinationRefType value)
value - allowed object is
MessageDestinationRefTypepublic PersistenceContextRefType[] getPersistenceContextRef()
PersistenceContextRefTypepublic PersistenceContextRefType getPersistenceContextRef(int idx)
PersistenceContextRefTypepublic int getPersistenceContextRefLength()
public void setPersistenceContextRef(PersistenceContextRefType[] values)
values - allowed objects are
PersistenceContextRefType
public PersistenceContextRefType setPersistenceContextRef(int idx,
PersistenceContextRefType value)
value - allowed object is
PersistenceContextRefTypepublic PersistenceUnitRefType[] getPersistenceUnitRef()
PersistenceUnitRefTypepublic PersistenceUnitRefType getPersistenceUnitRef(int idx)
PersistenceUnitRefTypepublic int getPersistenceUnitRefLength()
public void setPersistenceUnitRef(PersistenceUnitRefType[] values)
values - allowed objects are
PersistenceUnitRefType
public PersistenceUnitRefType setPersistenceUnitRef(int idx,
PersistenceUnitRefType value)
value - allowed object is
PersistenceUnitRefTypepublic LifecycleCallbackType[] getPostConstruct()
LifecycleCallbackTypepublic LifecycleCallbackType getPostConstruct(int idx)
LifecycleCallbackTypepublic int getPostConstructLength()
public void setPostConstruct(LifecycleCallbackType[] values)
values - allowed objects are
LifecycleCallbackType
public LifecycleCallbackType setPostConstruct(int idx,
LifecycleCallbackType value)
value - allowed object is
LifecycleCallbackTypepublic LifecycleCallbackType[] getPreDestroy()
LifecycleCallbackTypepublic LifecycleCallbackType getPreDestroy(int idx)
LifecycleCallbackTypepublic int getPreDestroyLength()
public void setPreDestroy(LifecycleCallbackType[] values)
values - allowed objects are
LifecycleCallbackType
public LifecycleCallbackType setPreDestroy(int idx,
LifecycleCallbackType value)
value - allowed object is
LifecycleCallbackTypepublic LifecycleCallbackType[] getPostActivate()
LifecycleCallbackTypepublic LifecycleCallbackType getPostActivate(int idx)
LifecycleCallbackTypepublic int getPostActivateLength()
public void setPostActivate(LifecycleCallbackType[] values)
values - allowed objects are
LifecycleCallbackType
public LifecycleCallbackType setPostActivate(int idx,
LifecycleCallbackType value)
value - allowed object is
LifecycleCallbackTypepublic LifecycleCallbackType[] getPrePassivate()
LifecycleCallbackTypepublic LifecycleCallbackType getPrePassivate(int idx)
LifecycleCallbackTypepublic int getPrePassivateLength()
public void setPrePassivate(LifecycleCallbackType[] values)
values - allowed objects are
LifecycleCallbackType
public LifecycleCallbackType setPrePassivate(int idx,
LifecycleCallbackType value)
value - allowed object is
LifecycleCallbackTypepublic SecurityRoleRefType[] getSecurityRoleRef()
SecurityRoleRefTypepublic SecurityRoleRefType getSecurityRoleRef(int idx)
SecurityRoleRefTypepublic int getSecurityRoleRefLength()
public void setSecurityRoleRef(SecurityRoleRefType[] values)
values - allowed objects are
SecurityRoleRefType
public SecurityRoleRefType setSecurityRoleRef(int idx,
SecurityRoleRefType value)
value - allowed object is
SecurityRoleRefTypepublic SecurityIdentityType getSecurityIdentity()
SecurityIdentityTypepublic void setSecurityIdentity(SecurityIdentityType value)
value - allowed object is
SecurityIdentityTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringprotected void copyDescription(DescriptionType[] source)
Description.
source - The source to copy from.
NullPointerException - if source is null.protected void copyDisplayName(DisplayNameType[] source)
DisplayName.
source - The source to copy from.
NullPointerException - if source is null.protected void copyIcon(IconType[] source)
Icon.
source - The source to copy from.
NullPointerException - if source is null.protected void copyBusinessLocal(FullyQualifiedClassType[] source)
BusinessLocal.
source - The source to copy from.
NullPointerException - if source is null.protected void copyBusinessRemote(FullyQualifiedClassType[] source)
BusinessRemote.
source - The source to copy from.
NullPointerException - if source is null.protected void copyInitMethod(InitMethodType[] source)
InitMethod.
source - The source to copy from.
NullPointerException - if source is null.protected void copyRemoveMethod(RemoveMethodType[] source)
RemoveMethod.
source - The source to copy from.
NullPointerException - if source is null.protected void copyAroundInvoke(AroundInvokeType[] source)
AroundInvoke.
source - The source to copy from.
NullPointerException - if source is null.protected void copyEnvEntry(EnvEntryType[] source)
EnvEntry.
source - The source to copy from.
NullPointerException - if source is null.protected void copyEjbRef(EjbRefType[] source)
EjbRef.
source - The source to copy from.
NullPointerException - if source is null.protected void copyEjbLocalRef(EjbLocalRefType[] source)
EjbLocalRef.
source - The source to copy from.
NullPointerException - if source is null.protected void copyServiceRef(ServiceRefType[] source)
ServiceRef.
source - The source to copy from.
NullPointerException - if source is null.protected void copyResourceRef(ResourceRefType[] source)
ResourceRef.
source - The source to copy from.
NullPointerException - if source is null.protected void copyResourceEnvRef(ResourceEnvRefType[] source)
ResourceEnvRef.
source - The source to copy from.
NullPointerException - if source is null.protected void copyMessageDestinationRef(MessageDestinationRefType[] source)
MessageDestinationRef.
source - The source to copy from.
NullPointerException - if source is null.protected void copyPersistenceContextRef(PersistenceContextRefType[] source)
PersistenceContextRef.
source - The source to copy from.
NullPointerException - if source is null.protected void copyPersistenceUnitRef(PersistenceUnitRefType[] source)
PersistenceUnitRef.
source - The source to copy from.
NullPointerException - if source is null.protected void copyPostConstruct(LifecycleCallbackType[] source)
PostConstruct.
source - The source to copy from.
NullPointerException - if source is null.protected void copyPreDestroy(LifecycleCallbackType[] source)
PreDestroy.
source - The source to copy from.
NullPointerException - if source is null.protected void copyPostActivate(LifecycleCallbackType[] source)
PostActivate.
source - The source to copy from.
NullPointerException - if source is null.protected void copyPrePassivate(LifecycleCallbackType[] source)
PrePassivate.
source - The source to copy from.
NullPointerException - if source is null.protected void copySecurityRoleRef(SecurityRoleRefType[] source)
SecurityRoleRef.
source - The source to copy from.
NullPointerException - if source is null.public SessionBeanType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||