Searched refs:ejbRef (Results 1 - 23 of 23) sorted by relevance

/glassfish-3.1.2/web/weld-integration/src/main/java/org/glassfish/weld/ejb/
H A DSessionObjectReferenceImpl.java53 private Object ejbRef; field in class:SessionObjectReferenceImpl
57 ejbRef = ref;
63 return ejbContainerServices.getBusinessObject(ejbRef, sClass);
69 ejbContainerServices.remove(ejbRef);
74 return ejbContainerServices.isRemoved(ejbRef);
/glassfish-3.1.2/ejb/ejb-internal-api/src/main/java/org/glassfish/ejb/api/
H A DEjbContainerServices.java64 public <S> S getBusinessObject(Object ejbRef, java.lang.Class<S> sClass); argument
66 public void remove(Object ejbRef); argument
68 public boolean isRemoved(Object ejbRef); argument
/glassfish-3.1.2/ejb/ejb-connector/src/main/java/org/glassfish/ejb/deployment/annotation/handlers/
H A DEJBHandler.java187 for (EjbReferenceDescriptor ejbRef : ejbRefs) {
189 ejbRef.addInjectionTarget(target);
191 if (!ok(ejbRef.getName())) // a new one
192 ejbRef.setName(logicalName);
195 setEjbType(ejbRef, beanInterface);
198 if (!ok(ejbRef.getDescription()) && ok(ejbAn.description()))
199 ejbRef.setDescription(ejbAn.description());
202 if (!ejbRef.hasLookupName() && ok(ejbAn.lookup()))
203 ejbRef.setLookupName(ejbAn.lookup());
204 if (!ok(ejbRef
243 setEjbType(EjbReferenceDescriptor ejbRef, Class beanInterface) argument
257 setEjbIntfType(EjbReferenceDescriptor ejbRef, Class beanInterface) argument
286 setEjbHomeType(EjbReferenceDescriptor ejbRef, Class beanInterface) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/
H A DEjbRefNode.java119 public Node writeDescriptor(Node parent, String nodeName, EjbReference ejbRef) { argument
121 appendTextChild(ejbRefNode, RuntimeTagNames.EJB_REFERENCE_NAME, ejbRef.getName());
123 String jndiName = ejbRef.getJndiName();
125 EjbDescriptor ejbReferee = ejbRef.getEjbDescriptor();
130 if( !ejbRef.isLocal() && ejbRef.getType().equals(EjbSessionDescriptor.TYPE) ) {
132 String intf = ejbRef.isEJB30ClientView() ?
133 ejbRef.getEjbInterface() : ejbRef.getEjbHomeInterface();
155 EjbReference ejbRef
[all...]
H A DResourceEnvRefNode.java111 public Node writeDescriptor(Node parent, String nodeName, JmsDestinationReferenceDescriptor ejbRef) { argument
112 Node resRefNode = super.writeDescriptor(parent, nodeName, ejbRef);
113 appendTextChild(resRefNode, RuntimeTagNames.RESOURCE_ENV_REFERENCE_NAME, ejbRef.getName());
114 appendTextChild(resRefNode, RuntimeTagNames.JNDI_NAME, ejbRef.getJndiName());
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/common/
H A DDefaultResourcePrincipalNode.java80 Node ejbRef = appendChild(parent, nodeName);
81 appendTextChild(ejbRef, RuntimeTagNames.NAME, descriptor.getName());
82 appendTextChild(ejbRef, RuntimeTagNames.PASSWORD, descriptor.getPassword());
83 return ejbRef;
H A DEjbRefNode.java80 Node ejbRef = appendChild(parent, nodeName);
81 appendTextChild(ejbRef, RuntimeTagNames.EJB_REF_NAME, descriptor.getEjbRefName());
82 appendTextChild(ejbRef, RuntimeTagNames.JNDI_NAME, descriptor.getJndiName());
83 return ejbRef;
H A DResourceEnvRefNode.java80 Node ejbRef = appendChild(parent, nodeName);
81 appendTextChild(ejbRef, RuntimeTagNames.RESOURCE_ENV_REF_NAME, descriptor.getResourceEnvRefName());
82 appendTextChild(ejbRef, RuntimeTagNames.JNDI_NAME, descriptor.getJndiName());
83 return ejbRef;
H A DWLEjbReferenceDescriptionNode.java79 Node ejbRef = appendChild(parent, nodeName);
80 appendTextChild(ejbRef, RuntimeTagNames.EJB_REF_NAME, descriptor.getEjbRefName());
81 appendTextChild(ejbRef, RuntimeTagNames.JNDI_NAME, descriptor.getJndiName());
82 return ejbRef;
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DEjbBundleValidator.java444 * @param ejbRef ejb reference
446 public void accept(EjbReference ejbRef) { argument
447 DOLUtils.getDefaultLogger().fine("Visiting Ref" + ejbRef);
448 if (ejbRef.getEjbDescriptor()!=null)
452 if (ejbRef.getType() == null) {
454 if (ejbRef.isEJB30ClientView()) {
455 ejbRef.setType("Session");
459 String homeIntf = ejbRef.getEjbHomeInterface();
460 BundleDescriptor referringJar = ejbRef.getReferringBundleDescriptor();
471 ejbRef
[all...]
H A DComponentVisitor.java74 public void accept(EjbReference ejbRef); argument
H A DTracerVisitor.java106 public void accept(EjbReference ejbRef) { argument
107 DOLUtils.getDefaultLogger().info(ejbRef.toString());
H A DDefaultDOLVisitor.java101 public void accept(EjbReference ejbRef) { argument
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DEjbContainerServicesImpl.java79 public <S> S getBusinessObject(Object ejbRef, java.lang.Class<S> businessInterface) { argument
81 EJBLocalObjectImpl localObjectImpl = getEJBLocalObject(ejbRef);
114 throw new IllegalStateException("Unable to convert ejbRef for ejb " +
122 public void remove(Object ejbRef) { argument
124 EJBLocalObjectImpl localObjectImpl = getEJBLocalObject(ejbRef);
149 //throw new UnsupportedOperationException("ejbRef for ejb " +
164 public boolean isRemoved(Object ejbRef) { argument
166 EJBLocalObjectImpl localObjectImpl = getEJBLocalObject(ejbRef);
191 //throw new UnsupportedOperationException("ejbRef for ejb " +
207 private EJBLocalObjectImpl getEJBLocalObject(Object ejbRef) { argument
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/elements/
H A DWebEjbReferencesElement.java107 private void checkInterface(Result result, EjbReferenceDescriptor ejbRef, String intf, String f){ argument
114 new Object[] {ejbRef.getName(), intf, f}));
119 new Object[] {ejbRef.getName(), intf, f}));
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DWebFragmentDescriptor.java177 EjbReference ejbRef = (EjbReference)oejbRef;
179 (EjbReferenceDescriptor)_getEjbReference(ejbRef.getName());
181 if (ejbRefDesc.isConflict((EjbReferenceDescriptor)ejbRef)) {
184 unionInjectionTargets(ejbRefDesc, (EnvironmentProperty)ejbRef);
186 addEjbReferenceDescriptor(ejbRef);
H A DWebBundleDescriptor.java1106 EjbReference ejbRef = (EjbReference)oejbRef;
1108 (EjbReferenceDescriptor)_getEjbReference(ejbRef.getName());
1110 combineInjectionTargets(ejbRefDesc, (EnvironmentProperty)ejbRef);
1118 addEjbReferenceDescriptor(ejbRef);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/context/
H A DResourceContainerContextImpl.java85 EjbReference ejbRef = null;
87 ejbRef = getEjbReferenceContainer().getEjbReference(name);
103 ejbRef = app.getEjbReferenceByName(name);
105 addEjbReferenceDescriptor(ejbRef);
109 return ejbRef;
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/web/
H A DWLWebBundleRuntimeNode.java241 EjbRef ejbRef = (EjbRef) newDescriptor;
242 descriptor.getSunDescriptor().addEjbRef(ejbRef);
244 EjbReference ref = descriptor.getEjbReference(ejbRef.getEjbRefName());
245 ref.setJndiName(ejbRef.getJndiName());
300 for (EjbRef ejbRef : ejbRefs) {
301 node.writeDescriptor(root, RuntimeTagNames.EJB_REF, ejbRef);
H A DWebBundleRuntimeNode.java215 EjbRef ejbRef = (EjbRef) newDescriptor;
216 descriptor.getSunDescriptor().addEjbRef(ejbRef);
218 EjbReference ref = descriptor.getEjbReference(ejbRef.getEjbRefName());
219 ref.setJndiName(ejbRef.getJndiName());
/glassfish-3.1.2/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/
H A DComponentEnvManagerImpl.java1070 private EjbReferenceDescriptor ejbRef; field in class:ComponentEnvManagerImpl.EjbReferenceProxy
1084 EjbReferenceProxy(EjbReferenceDescriptor ejbRef) { argument
1085 this.ejbRef = ejbRef;
1096 cacheable = new Boolean(ejbRefMgr.isEjbReferenceCacheable(ejbRef));
1106 result = cachedResult = ejbRefMgr.resolveEjbReference(ejbRef, ctx);
1109 result = ejbRefMgr.resolveEjbReference(ejbRef, ctx);
1114 throw new NameNotFoundException("Can not resolve ejb reference " + ejbRef.getName() +
1115 " : " + ejbRef);
/glassfish-3.1.2/web/weld-integration/src/main/java/org/glassfish/weld/services/
H A DEjbServicesImpl.java112 Object ejbRef = ic.lookup(globalJndiName);
116 sessionObj = new SessionObjectReferenceImpl(containerServices, ejbRef);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/
H A DDeploymentDescriptorNode.java649 EjbReference ejbRef = (EjbReference) refs.next();
650 if (ejbRef.isLocal()) {
651 localRefDescs.add(ejbRef);
653 subNode.writeDescriptor(parentNode, TagNames.EJB_REFERENCE, ejbRef);
658 EjbReference ejbRef = (EjbReference) e.next();
659 subNode.writeDescriptor(parentNode, TagNames.EJB_LOCAL_REFERENCE,ejbRef);

Completed in 104 milliseconds