org.netbeans.modules.j2ee.dd.api.ejb
Interface Session
- All Superinterfaces:
- CommonDDBean, ComponentInterface, CreateCapability, DescriptionInterface, DisplayNameInterface, Ejb, EntityAndSession, FindCapability, IconInterface
public interface Session
- extends EntityAndSession
|
Method Summary |
int |
addAroundInvoke(AroundInvoke valueInterface)
|
int |
addBusinessLocal(String value)
|
int |
addBusinessRemote(String value)
|
int |
addInitMethod(InitMethod valueInterface)
|
int |
addPersistenceContextRef(PersistenceContextRef valueInterface)
|
int |
addPersistenceUnitRef(PersistenceUnitRef valueInterface)
|
int |
addPostActivate(LifecycleCallback valueInterface)
|
int |
addPostConstruct(LifecycleCallback valueInterface)
|
int |
addPreDestroy(LifecycleCallback valueInterface)
|
int |
addPrePassivate(LifecycleCallback valueInterface)
|
int |
addRemoveMethod(RemoveMethod valueInterface)
|
AroundInvoke[] |
getAroundInvoke()
|
AroundInvoke |
getAroundInvoke(int index)
|
String[] |
getBusinessLocal()
|
String |
getBusinessLocal(int index)
|
String[] |
getBusinessRemote()
|
String |
getBusinessRemote(int index)
|
InitMethod[] |
getInitMethod()
|
InitMethod |
getInitMethod(int index)
|
String |
getMappedName()
|
PersistenceContextRef[] |
getPersistenceContextRef()
|
PersistenceContextRef |
getPersistenceContextRef(int index)
|
PersistenceUnitRef[] |
getPersistenceUnitRef()
|
PersistenceUnitRef |
getPersistenceUnitRef(int index)
|
LifecycleCallback[] |
getPostActivate()
|
LifecycleCallback |
getPostActivate(int index)
|
LifecycleCallback[] |
getPostConstruct()
|
LifecycleCallback |
getPostConstruct(int index)
|
LifecycleCallback[] |
getPreDestroy()
|
LifecycleCallback |
getPreDestroy(int index)
|
LifecycleCallback[] |
getPrePassivate()
|
LifecycleCallback |
getPrePassivate(int index)
|
RemoveMethod[] |
getRemoveMethod()
|
RemoveMethod |
getRemoveMethod(int index)
|
String |
getServiceEndpoint()
|
String |
getSessionType()
|
NamedMethod |
getTimeoutMethod()
|
String |
getTransactionType()
|
boolean |
isLocalBean()
|
AroundInvoke |
newAroundInvoke()
|
InitMethod |
newInitMethod()
|
LifecycleCallback |
newLifecycleCallback()
|
NamedMethod |
newNamedMethod()
|
PersistenceContextRef |
newPersistenceContextRef()
|
PersistenceUnitRef |
newPersistenceUnitRef()
|
RemoveMethod |
newRemoveMethod()
|
int |
removeAroundInvoke(AroundInvoke valueInterface)
|
int |
removeBusinessLocal(String value)
|
int |
removeBusinessRemote(String value)
|
int |
removeInitMethod(InitMethod valueInterface)
|
int |
removePersistenceContextRef(PersistenceContextRef valueInterface)
|
int |
removePersistenceUnitRef(PersistenceUnitRef valueInterface)
|
int |
removePostActivate(LifecycleCallback valueInterface)
|
int |
removePostConstruct(LifecycleCallback valueInterface)
|
int |
removePreDestroy(LifecycleCallback valueInterface)
|
int |
removePrePassivate(LifecycleCallback valueInterface)
|
int |
removeRemoveMethod(RemoveMethod valueInterface)
|
void |
setAroundInvoke(AroundInvoke[] value)
|
void |
setAroundInvoke(int index,
AroundInvoke valueInterface)
|
void |
setBusinessLocal(int index,
String value)
|
void |
setBusinessLocal(String[] value)
|
void |
setBusinessRemote(int index,
String value)
|
void |
setBusinessRemote(String[] value)
|
void |
setInitMethod(InitMethod[] value)
|
void |
setInitMethod(int index,
InitMethod valueInterface)
|
void |
setMappedName(String value)
|
void |
setPersistenceContextRef(int index,
PersistenceContextRef valueInterface)
|
void |
setPersistenceContextRef(PersistenceContextRef[] value)
|
void |
setPersistenceUnitRef(int index,
PersistenceUnitRef valueInterface)
|
void |
setPersistenceUnitRef(PersistenceUnitRef[] value)
|
void |
setPostActivate(int index,
LifecycleCallback valueInterface)
|
void |
setPostActivate(LifecycleCallback[] value)
|
void |
setPostConstruct(int index,
LifecycleCallback valueInterface)
|
void |
setPostConstruct(LifecycleCallback[] value)
|
void |
setPreDestroy(int index,
LifecycleCallback valueInterface)
|
void |
setPreDestroy(LifecycleCallback[] value)
|
void |
setPrePassivate(int index,
LifecycleCallback valueInterface)
|
void |
setPrePassivate(LifecycleCallback[] value)
|
void |
setRemoveMethod(int index,
RemoveMethod valueInterface)
|
void |
setRemoveMethod(RemoveMethod[] value)
|
void |
setServiceEndpoint(String value)
|
void |
setSessionType(String value)
|
void |
setTimeoutMethod(NamedMethod valueInterface)
|
void |
setTransactionType(String value)
|
int |
sizeAroundInvoke()
|
int |
sizeBusinessLocal()
|
int |
sizeBusinessRemote()
|
int |
sizeInitMethod()
|
int |
sizePersistenceContextRef()
|
int |
sizePersistenceUnitRef()
|
int |
sizePostActivate()
|
int |
sizePostConstruct()
|
int |
sizePreDestroy()
|
int |
sizePrePassivate()
|
int |
sizeRemoveMethod()
|
| Methods inherited from interface org.netbeans.modules.j2ee.dd.api.ejb.EntityAndSession |
addSecurityRoleRef, getHome, getLocal, getLocalHome, getRemote, getSecurityRoleRef, getSecurityRoleRef, newSecurityRoleRef, removeSecurityRoleRef, setHome, setLocal, setLocalHome, setRemote, setSecurityRoleRef, setSecurityRoleRef, sizeSecurityRoleRef |
| Methods inherited from interface org.netbeans.modules.j2ee.dd.api.ejb.Ejb |
addEjbLocalRef, addEjbRef, addEnvEntry, addMessageDestinationRef, addResourceEnvRef, addResourceRef, addServiceRef, getEjbClass, getEjbLocalRef, getEjbLocalRef, getEjbName, getEjbRef, getEjbRef, getEnvEntry, getEnvEntry, getMessageDestinationRef, getMessageDestinationRef, getResourceEnvRef, getResourceEnvRef, getResourceRef, getResourceRef, getRoot, getSecurityIdentity, getServiceRef, getServiceRef, newEjbLocalRef, newEjbRef, newEnvEntry, newMessageDestinationRef, newResourceEnvRef, newResourceRef, newSecurityIdentity, newServiceRef, removeEjbLocalRef, removeEjbRef, removeEnvEntry, removeMessageDestinationRef, removeResourceEnvRef, removeResourceRef, removeServiceRef, setEjbClass, setEjbLocalRef, setEjbLocalRef, setEjbName, setEjbRef, setEjbRef, setEnvEntry, setEnvEntry, setMessageDestinationRef, setMessageDestinationRef, setResourceEnvRef, setResourceEnvRef, setResourceRef, setResourceRef, setSecurityIdentity, setServiceRef, setServiceRef, sizeEjbLocalRef, sizeEjbRef, sizeEnvEntry, sizeMessageDestinationRef, sizeResourceEnvRef, sizeResourceRef, sizeServiceRef |
| Methods inherited from interface org.netbeans.modules.j2ee.dd.api.common.IconInterface |
getAllIcons, getDefaultIcon, getLargeIcon, getLargeIcon, getSmallIcon, getSmallIcon, removeAllIcons, removeIcon, removeIcon, removeLargeIcon, removeLargeIcon, removeSmallIcon, removeSmallIcon, setAllIcons, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon |
SERVICE_ENDPOINT
static final String SERVICE_ENDPOINT
- See Also:
- Constant Field Values
SESSION_TYPE
static final String SESSION_TYPE
- See Also:
- Constant Field Values
TRANSACTION_TYPE
static final String TRANSACTION_TYPE
- See Also:
- Constant Field Values
SESSION_TYPE_STATEFUL
static final String SESSION_TYPE_STATEFUL
- See Also:
- Constant Field Values
SESSION_TYPE_STATELESS
static final String SESSION_TYPE_STATELESS
- See Also:
- Constant Field Values
SESSION_TYPE_SINGLETON
static final String SESSION_TYPE_SINGLETON
- See Also:
- Constant Field Values
TRANSACTION_TYPE_BEAN
static final String TRANSACTION_TYPE_BEAN
- See Also:
- Constant Field Values
TRANSACTION_TYPE_CONTAINER
static final String TRANSACTION_TYPE_CONTAINER
- See Also:
- Constant Field Values
BUSINESS_LOCAL
static final String BUSINESS_LOCAL
- See Also:
- Constant Field Values
BUSINESS_REMOTE
static final String BUSINESS_REMOTE
- See Also:
- Constant Field Values
getSessionType
String getSessionType()
setSessionType
void setSessionType(String value)
getTransactionType
String getTransactionType()
setTransactionType
void setTransactionType(String value)
setServiceEndpoint
void setServiceEndpoint(String value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getServiceEndpoint
String getServiceEndpoint()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setMappedName
void setMappedName(String value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getMappedName
String getMappedName()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setBusinessLocal
void setBusinessLocal(int index,
String value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getBusinessLocal
String getBusinessLocal(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizeBusinessLocal
int sizeBusinessLocal()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setBusinessLocal
void setBusinessLocal(String[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getBusinessLocal
String[] getBusinessLocal()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addBusinessLocal
int addBusinessLocal(String value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removeBusinessLocal
int removeBusinessLocal(String value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setBusinessRemote
void setBusinessRemote(int index,
String value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getBusinessRemote
String getBusinessRemote(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizeBusinessRemote
int sizeBusinessRemote()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setBusinessRemote
void setBusinessRemote(String[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getBusinessRemote
String[] getBusinessRemote()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addBusinessRemote
int addBusinessRemote(String value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removeBusinessRemote
int removeBusinessRemote(String value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setTimeoutMethod
void setTimeoutMethod(NamedMethod valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getTimeoutMethod
NamedMethod getTimeoutMethod()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setInitMethod
void setInitMethod(int index,
InitMethod valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getInitMethod
InitMethod getInitMethod(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizeInitMethod
int sizeInitMethod()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setInitMethod
void setInitMethod(InitMethod[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getInitMethod
InitMethod[] getInitMethod()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addInitMethod
int addInitMethod(InitMethod valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removeInitMethod
int removeInitMethod(InitMethod valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setRemoveMethod
void setRemoveMethod(int index,
RemoveMethod valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getRemoveMethod
RemoveMethod getRemoveMethod(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizeRemoveMethod
int sizeRemoveMethod()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setRemoveMethod
void setRemoveMethod(RemoveMethod[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getRemoveMethod
RemoveMethod[] getRemoveMethod()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addRemoveMethod
int addRemoveMethod(RemoveMethod valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removeRemoveMethod
int removeRemoveMethod(RemoveMethod valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setAroundInvoke
void setAroundInvoke(int index,
AroundInvoke valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getAroundInvoke
AroundInvoke getAroundInvoke(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizeAroundInvoke
int sizeAroundInvoke()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setAroundInvoke
void setAroundInvoke(AroundInvoke[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getAroundInvoke
AroundInvoke[] getAroundInvoke()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addAroundInvoke
int addAroundInvoke(AroundInvoke valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removeAroundInvoke
int removeAroundInvoke(AroundInvoke valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPersistenceContextRef
void setPersistenceContextRef(int index,
PersistenceContextRef valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPersistenceContextRef
PersistenceContextRef getPersistenceContextRef(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizePersistenceContextRef
int sizePersistenceContextRef()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPersistenceContextRef
void setPersistenceContextRef(PersistenceContextRef[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPersistenceContextRef
PersistenceContextRef[] getPersistenceContextRef()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addPersistenceContextRef
int addPersistenceContextRef(PersistenceContextRef valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removePersistenceContextRef
int removePersistenceContextRef(PersistenceContextRef valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPersistenceUnitRef
void setPersistenceUnitRef(int index,
PersistenceUnitRef valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPersistenceUnitRef
PersistenceUnitRef getPersistenceUnitRef(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizePersistenceUnitRef
int sizePersistenceUnitRef()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPersistenceUnitRef
void setPersistenceUnitRef(PersistenceUnitRef[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPersistenceUnitRef
PersistenceUnitRef[] getPersistenceUnitRef()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addPersistenceUnitRef
int addPersistenceUnitRef(PersistenceUnitRef valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removePersistenceUnitRef
int removePersistenceUnitRef(PersistenceUnitRef valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPostConstruct
void setPostConstruct(int index,
LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPostConstruct
LifecycleCallback getPostConstruct(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizePostConstruct
int sizePostConstruct()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPostConstruct
void setPostConstruct(LifecycleCallback[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPostConstruct
LifecycleCallback[] getPostConstruct()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addPostConstruct
int addPostConstruct(LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removePostConstruct
int removePostConstruct(LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPreDestroy
void setPreDestroy(int index,
LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPreDestroy
LifecycleCallback getPreDestroy(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizePreDestroy
int sizePreDestroy()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPreDestroy
void setPreDestroy(LifecycleCallback[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPreDestroy
LifecycleCallback[] getPreDestroy()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addPreDestroy
int addPreDestroy(LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removePreDestroy
int removePreDestroy(LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPostActivate
void setPostActivate(int index,
LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPostActivate
LifecycleCallback getPostActivate(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizePostActivate
int sizePostActivate()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPostActivate
void setPostActivate(LifecycleCallback[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPostActivate
LifecycleCallback[] getPostActivate()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addPostActivate
int addPostActivate(LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removePostActivate
int removePostActivate(LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPrePassivate
void setPrePassivate(int index,
LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPrePassivate
LifecycleCallback getPrePassivate(int index)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
sizePrePassivate
int sizePrePassivate()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
setPrePassivate
void setPrePassivate(LifecycleCallback[] value)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
getPrePassivate
LifecycleCallback[] getPrePassivate()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
addPrePassivate
int addPrePassivate(LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
removePrePassivate
int removePrePassivate(LifecycleCallback valueInterface)
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
newNamedMethod
NamedMethod newNamedMethod()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
newInitMethod
InitMethod newInitMethod()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
newRemoveMethod
RemoveMethod newRemoveMethod()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
newAroundInvoke
AroundInvoke newAroundInvoke()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
newPersistenceContextRef
PersistenceContextRef newPersistenceContextRef()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
newPersistenceUnitRef
PersistenceUnitRef newPersistenceUnitRef()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
newLifecycleCallback
LifecycleCallback newLifecycleCallback()
throws VersionNotSupportedException
- Throws:
VersionNotSupportedException
isLocalBean
boolean isLocalBean()