Searched refs:EjbSessionDescriptor (Results 1 - 25 of 142) sorted by relevance

123456

/glassfish-3.1.2/ejb/ejb-connector/src/main/java/org/glassfish/ejb/deployment/annotation/handlers/
H A DConcurrencyManagementHandler.java53 import com.sun.enterprise.deployment.EjbSessionDescriptor;
54 import com.sun.enterprise.deployment.EjbSessionDescriptor.ConcurrencyManagementType.*;
85 if (ejbDesc instanceof EjbSessionDescriptor) {
87 EjbSessionDescriptor.ConcurrencyManagementType descCMType;
91 descCMType = EjbSessionDescriptor.ConcurrencyManagementType.Container;
94 descCMType = EjbSessionDescriptor.ConcurrencyManagementType.Bean;
102 EjbSessionDescriptor sDesc = (EjbSessionDescriptor) ejbDesc;
H A DStatefulHandler.java49 import com.sun.enterprise.deployment.EjbSessionDescriptor;
95 boolean isValid = EjbSessionDescriptor.TYPE.equals(ejbDesc.getType());
98 EjbSessionDescriptor sessionDesc = (EjbSessionDescriptor) ejbDesc;
121 EjbSessionDescriptor newDescriptor = new EjbSessionDescriptor();
124 newDescriptor.setSessionType(EjbSessionDescriptor.STATEFUL);
140 EjbSessionDescriptor ejbSessionDesc = (EjbSessionDescriptor)ejbDesc;
144 ejbSessionDesc.setSessionType(EjbSessionDescriptor
[all...]
H A DStatelessHandler.java49 import com.sun.enterprise.deployment.EjbSessionDescriptor;
94 boolean isValid = EjbSessionDescriptor.TYPE.equals(ejbDesc.getType());
97 EjbSessionDescriptor sessionDesc = (EjbSessionDescriptor) ejbDesc;
120 EjbSessionDescriptor newDescriptor = new EjbSessionDescriptor();
123 newDescriptor.setSessionType(EjbSessionDescriptor.STATELESS);
139 EjbSessionDescriptor ejbSessionDesc = (EjbSessionDescriptor)ejbDesc;
143 ejbSessionDesc.setSessionType(EjbSessionDescriptor
[all...]
H A DSingletonHandler.java48 import com.sun.enterprise.deployment.EjbSessionDescriptor;
95 boolean isValid = EjbSessionDescriptor.TYPE.equals(ejbDesc.getType());
98 EjbSessionDescriptor sessionDesc = (EjbSessionDescriptor) ejbDesc;
121 EjbSessionDescriptor newDescriptor = new EjbSessionDescriptor();
124 newDescriptor.setSessionType(EjbSessionDescriptor.SINGLETON);
143 EjbSessionDescriptor ejbSingletonDescriptor = (EjbSessionDescriptor) ejbDesc;
150 ejbSingletonDescriptor.setSessionType(EjbSessionDescriptor
[all...]
H A DStatefulTimeoutHandler.java47 import com.sun.enterprise.deployment.EjbSessionDescriptor;
81 if( ejbDesc instanceof EjbSessionDescriptor ) {
82 EjbSessionDescriptor sessionDesc = (EjbSessionDescriptor) ejbDesc;
H A DAfterBeginHandler.java49 import com.sun.enterprise.deployment.EjbSessionDescriptor;
82 EjbSessionDescriptor ejbDesc =
83 (EjbSessionDescriptor) ejbContext.getDescriptor();
H A DBeforeCompletionHandler.java50 import com.sun.enterprise.deployment.EjbSessionDescriptor;
83 EjbSessionDescriptor ejbDesc =
84 (EjbSessionDescriptor) ejbContext.getDescriptor();
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/ejb30/
H A DPersistenceContextType.java46 import com.sun.enterprise.deployment.EjbSessionDescriptor;
65 if (d instanceof EjbSessionDescriptor) {
66 String stateType = ((EjbSessionDescriptor)d).getSessionType();
67 if (EjbSessionDescriptor.STATEFUL.equals(stateType)) {
H A DSessionBeanTest.java47 import com.sun.enterprise.deployment.EjbSessionDescriptor;
55 public abstract Result check(EjbSessionDescriptor descriptor) ;
62 if (descriptor instanceof EjbSessionDescriptor)
63 return check((EjbSessionDescriptor) descriptor);
H A DInitMethodReturnType.java44 import com.sun.enterprise.deployment.EjbSessionDescriptor;
60 public Result check(EjbSessionDescriptor descriptor) {
H A DInterceptorMethodTest.java47 import com.sun.enterprise.deployment.EjbSessionDescriptor;
76 if(descriptor instanceof EjbSessionDescriptor) {
77 EjbSessionDescriptor sessionDescriptor = (EjbSessionDescriptor)descriptor;
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/session/
H A DSessionSynchronizationInterface.java48 import com.sun.enterprise.deployment.EjbSessionDescriptor;
77 if (descriptor instanceof EjbSessionDescriptor) {
78 String stateType = ((EjbSessionDescriptor)descriptor).getSessionType();
91 if ((EjbSessionDescriptor.STATELESS.equals(stateType)) ||
92 ((EjbSessionDescriptor.STATEFUL.equals(stateType))
93 && EjbSessionDescriptor.BEAN_TRANSACTION_TYPE
H A DTransactionTypeBeanManaged.java75 if (EjbSessionDescriptor.BEAN_TRANSACTION_TYPE.equals(transactionType)) {
76 if (descriptor instanceof EjbSessionDescriptor) {
96 } else if (EjbSessionDescriptor.CONTAINER_TRANSACTION_TYPE.equals(transactionType)) {
104 new Object[] {EjbSessionDescriptor.BEAN_TRANSACTION_TYPE,descriptor.getName(),EjbSessionDescriptor.CONTAINER_TRANSACTION_TYPE}));
114 new Object[] {EjbSessionDescriptor.BEAN_TRANSACTION_TYPE,descriptor.getName(),transactionType}));
H A DTransactionType.java45 import com.sun.enterprise.deployment.EjbSessionDescriptor;
74 if (descriptor instanceof EjbSessionDescriptor) {
76 if (EjbSessionDescriptor.BEAN_TRANSACTION_TYPE.equals(transactionType) ||
77 EjbSessionDescriptor.CONTAINER_TRANSACTION_TYPE.equals(transactionType)) {
H A DSessionType.java45 import com.sun.enterprise.deployment.EjbSessionDescriptor;
76 if (descriptor instanceof EjbSessionDescriptor) {
77 String stateType = ((EjbSessionDescriptor)descriptor).getSessionType();
78 if ((EjbSessionDescriptor.STATELESS.equals(stateType)) ||
79 (EjbSessionDescriptor.STATEFUL.equals(stateType))) {
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/beanpool/
H A DASEjbBeanPool.java45 import com.sun.enterprise.deployment.EjbSessionDescriptor;
50 import com.sun.enterprise.deployment.EjbSessionDescriptor;
90 if(descriptor instanceof EjbSessionDescriptor && ((EjbSessionDescriptor)descriptor).getSessionType().equals(EjbSessionDescriptor.STATEFUL))
98 }else if(descriptor instanceof EjbMessageBeanDescriptor || (descriptor instanceof EjbSessionDescriptor && ((EjbSessionDescriptor)descriptor).getSessionType().equals(EjbSessionDescriptor.STATELESS)) || descriptor instanceof EjbEntityDescriptor){
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/timer/
H A DImplementsTimedObjectTest.java45 import com.sun.enterprise.deployment.EjbSessionDescriptor;
75 || ( (descriptor instanceof EjbSessionDescriptor) &&
76 ((((EjbSessionDescriptor)descriptor).getSessionType()).equals
77 (EjbSessionDescriptor.STATEFUL)) )) {
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/
H A DStatefulSessionBeanInjection.java45 import com.sun.enterprise.deployment.EjbSessionDescriptor;
76 if (ejbDescriptor instanceof EjbSessionDescriptor) { // instaceof returns false if ejbDescriptor=null.
77 String stateType = ((EjbSessionDescriptor)ejbDescriptor).getSessionType();
78 if(EjbSessionDescriptor.STATEFUL.equals(stateType)) {
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/webservices/
H A DEJBEndpointIsSLSBCheck.java92 if (ejbdesc instanceof EjbSessionDescriptor) {
93 EjbSessionDescriptor session = (EjbSessionDescriptor)ejbdesc;
94 if (EjbSessionDescriptor.STATELESS.equals(session.getSessionType())) {
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/session/stateless/
H A DStatelessCreateNoArgs.java45 import com.sun.enterprise.deployment.EjbSessionDescriptor;
71 if (descriptor instanceof EjbSessionDescriptor) {
72 String stateType = ((EjbSessionDescriptor)descriptor).getSessionType();
73 if (EjbSessionDescriptor.STATELESS.equals(stateType)) {
77 commonToBothInterfaces(descriptor.getHomeClassName(),(EjbSessionDescriptor)descriptor);
79 commonToBothInterfaces(descriptor.getLocalHomeClassName(),(EjbSessionDescriptor)descriptor);
99 private void commonToBothInterfaces(String home, EjbSessionDescriptor descriptor) {
H A DStatelessCreateOnlyOne.java46 import com.sun.enterprise.deployment.EjbSessionDescriptor;
76 if (descriptor instanceof EjbSessionDescriptor) {
77 String stateType = ((EjbSessionDescriptor)descriptor).getSessionType();
78 if (EjbSessionDescriptor.STATELESS.equals(stateType)) {
84 commonToBothInterfaces(descriptor.getHomeClassName(),(EjbSessionDescriptor)descriptor);
86 commonToBothInterfaces(descriptor.getLocalHomeClassName(),(EjbSessionDescriptor)descriptor);
104 private void commonToBothInterfaces(String home, EjbSessionDescriptor descriptor) {
H A DStatelessCreateReturn.java46 import com.sun.enterprise.deployment.EjbSessionDescriptor;
76 if (descriptor instanceof EjbSessionDescriptor) {
77 String stateType = ((EjbSessionDescriptor)descriptor).getSessionType();
78 if (EjbSessionDescriptor.STATELESS.equals(stateType)) {
85 commonToBothInterfaces(descriptor.getRemoteClassName(),descriptor.getHomeClassName(),(EjbSessionDescriptor)descriptor);
89 commonToBothInterfaces(descriptor.getLocalClassName(),descriptor.getLocalHomeClassName() ,(EjbSessionDescriptor)descriptor);
110 private void commonToBothInterfaces(String remote, String home, EjbSessionDescriptor descriptor) {
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/beancache/
H A DASEjbBeanCache.java46 import com.sun.enterprise.deployment.EjbSessionDescriptor;
51 import com.sun.enterprise.deployment.EjbSessionDescriptor;
81 || (descriptor instanceof EjbSessionDescriptor
82 && ((EjbSessionDescriptor)descriptor).getSessionType().equals(EjbSessionDescriptor.STATEFUL)))
/glassfish-3.1.2/web/weld-integration/src/main/java/org/glassfish/weld/ejb/
H A DEjbDescriptorImpl.java111 if( ejbDesc.getType().equals(EjbSessionDescriptor.TYPE) ) {
113 EjbSessionDescriptor sessionDesc = (EjbSessionDescriptor) ejbDesc;
160 if( ejbDesc.getType().equals(EjbSessionDescriptor.TYPE) ) {
161 EjbSessionDescriptor sessionDesc = (EjbSessionDescriptor) ejbDesc;
189 return (ejbDesc.getType().equals(EjbSessionDescriptor.TYPE) &&
190 ((EjbSessionDescriptor) ejbDesc).isStateless());
199 return (ejbDesc.getType().equals(EjbSessionDescriptor.TYPE) &&
200 ((EjbSessionDescriptor) ejbDes
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/
H A DASSecurityRoleMapping.java46 import com.sun.enterprise.deployment.EjbSessionDescriptor;
53 import com.sun.enterprise.deployment.EjbSessionDescriptor;

Completed in 19 milliseconds

123456