/glassfish-3.1.2/ejb/ejb-connector/src/main/java/org/glassfish/ejb/deployment/annotation/handlers/ |
H A D | ConcurrencyManagementHandler.java | 53 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 D | StatefulHandler.java | 49 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 D | StatelessHandler.java | 49 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 D | SingletonHandler.java | 48 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 D | StatefulTimeoutHandler.java | 47 import com.sun.enterprise.deployment.EjbSessionDescriptor; 81 if( ejbDesc instanceof EjbSessionDescriptor ) { 82 EjbSessionDescriptor sessionDesc = (EjbSessionDescriptor) ejbDesc;
|
H A D | AfterBeginHandler.java | 49 import com.sun.enterprise.deployment.EjbSessionDescriptor; 82 EjbSessionDescriptor ejbDesc = 83 (EjbSessionDescriptor) ejbContext.getDescriptor();
|
H A D | BeforeCompletionHandler.java | 50 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 D | PersistenceContextType.java | 46 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 D | SessionBeanTest.java | 47 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 D | InitMethodReturnType.java | 44 import com.sun.enterprise.deployment.EjbSessionDescriptor; 60 public Result check(EjbSessionDescriptor descriptor) {
|
H A D | InterceptorMethodTest.java | 47 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 D | SessionSynchronizationInterface.java | 48 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 D | TransactionTypeBeanManaged.java | 75 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 D | TransactionType.java | 45 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 D | SessionType.java | 45 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 D | ASEjbBeanPool.java | 45 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 D | ImplementsTimedObjectTest.java | 45 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 D | StatefulSessionBeanInjection.java | 45 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 D | EJBEndpointIsSLSBCheck.java | 92 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 D | StatelessCreateNoArgs.java | 45 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 D | StatelessCreateOnlyOne.java | 46 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 D | StatelessCreateReturn.java | 46 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 D | ASEjbBeanCache.java | 46 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 D | EjbDescriptorImpl.java | 111 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 D | ASSecurityRoleMapping.java | 46 import com.sun.enterprise.deployment.EjbSessionDescriptor; 53 import com.sun.enterprise.deployment.EjbSessionDescriptor;
|