/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/ |
H A D | ReadOnlyBeanNotifierImpl.java | 64 public ReadOnlyBeanNotifierImpl(ReadOnlyEJBHome home) argument 68 this.readOnlyBeanHome = home;
|
/glassfish-3.1.2/tests/quicklook/ejb/remoteview/src/test/ |
H A D | RemoteViewTestNG.java | 116 private static void callHome(HelloHome home) throws Exception { argument 117 HelloRemote hr = home.create();
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/ |
H A D | ApplicationExceptionHomeInterfaceMethods.java | 54 * of the methods of the home interface. An application exception 55 * is an exception defined in the throws clause of a method in the Bean's home 71 * of the methods of the home interface. An application exception 72 * is an exception defined in the throws clause of a method in the Bean's home 110 * @param home for the Home Interface of the Ejb 114 private void commonToBothInterfaces (String home, EjbDescriptor descriptor) { argument 117 Class c = Class.forName(home, false, getVerifierContext().getClassLoader()); 129 new Object[] {home, methods.getName()})); 131 } // for all the methods within the home interface class, loop 140 new Object[] {home, descripto [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/ |
H A D | HomeInterfacePostCreateMethodExceptionMatch.java | 54 * Entity beans home interface method exceptions match test. 56 * The following are the requirements for the enterprise Bean's home interface 59 * An Entity Bean's home interface defines one or more create(...) methods. 63 * matching create method of the home interface. 72 * Entity beans home interface method exceptions match test. 74 * The following are the requirements for the enterprise Bean's home interface 77 * An Entity Bean's home interface defines one or more create(...) methods. 81 * matching create method of the home interface. 95 // RULE: entity home interface are only allowed to have create 145 * @param home fo 149 commonToBothInterfaces(String home, EjbDescriptor descriptor) argument [all...] |
H A D | TransactionDemarcationHomeInterface.java | 54 * Entity Bean transaction demarcation type home interface methods test. 56 * bean's home interface, excluding getEJBMetaData and getHomeHandle methods. 66 * Entity Bean transaction demarcation type home interface methods test. 68 * bean's home interface, excluding getEJBMetaData and getHomeHandle methods. 86 // bean's home interface, excluding getEJBMetaData and getHomeHandle methods 95 "There is no home interface specified for [ {0} ]", 132 * @param home for the Home interface of the Ejb. 137 private boolean commonToBothInterfaces(String home, EjbDescriptor descriptor, String methodIntf) { argument 141 Class c = Class.forName(home, false, getVerifierContext().getClassLoader()); 187 // corresponds to a or some methods on the home interfac [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/findbyprimarykey/ |
H A D | HomeInterfaceFindByPrimaryKeyArg.java | 56 * Every entity enterprise home interface must define the findByPrimaryKey 68 * Every entity enterprise home interface must define the findByPrimaryKey 113 * @param home for the Home interface of the Ejb. 118 private boolean commonToBothInterfaces(String home, EjbDescriptor descriptor) { argument 126 // retrieve the home interface methods 129 Class homeInterfaceClass = Class.forName(home, false, getVerifierContext().getClassLoader()); 184 "For home interface [ {0} ] Finder Method [ {1} ]", 196 "For home interface [ {0} ] Finder Method [ {1} ]", 212 "For home interface [ {0} ]", 216 "Error: No single arg findByPrimaryKey(PrimaryKeyClass) method was found in home interfac [all...] |
H A D | HomeInterfaceFindByPrimaryKeyName.java | 110 * @param home for the Home interface of the Ejb. 114 private boolean commonToBothInterfaces(String home, EjbDescriptor descriptor) { argument 118 // retrieve the home interface methods 121 Class homeInterfaceClass = Class.forName(home, false, getVerifierContext().getClassLoader()); 157 "Error: No findByPrimaryKey method was found in home interface class [ {0} ].", 170 new Object[] {home}));
|
H A D | HomeInterfaceFindByPrimaryKeyReturn.java | 114 * @param home for the Home interface of the Ejb. 120 private boolean commonToBothInterfaces(String home, String remote, EjbDescriptor descriptor) { argument 125 // retrieve the home interface methods 128 Class homeInterfaceClass = Class.forName(home, false, getVerifierContext().getClassLoader()); 197 "Error: No findByPrimaryKey method was found in home interface class [ {0} ].", 210 new Object[] {home}));
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/findermethod/ |
H A D | HomeInterfaceFindMethodExceptionFinder.java | 55 * Entity beans home interface find<METHOD> method throws 58 * The following are the requirements for the enterprise Bean's home interface 61 * An Entity Bean's home interface defines one or more find<METHOD>(...) 71 * Entity beans home interface find<METHOD> method throws 74 * The following are the requirements for the enterprise Bean's home interface 77 * An Entity Bean's home interface defines one or more find<METHOD>(...) 138 * @param home for the Home interface of the Ejb. 142 private boolean commonToBothInterfaces(String home, EjbDescriptor descriptor) { argument 144 // RULE: Entity home interface are only allowed to have find<METHOD> 149 Class c = Class.forName(home, fals [all...] |
H A D | HomeInterfaceFindMethodExceptionMatch.java | 56 * Entity beans home interface find<METHOD> method exceptions match test. 58 * The following are the requirements for the enterprise Bean's home interface 61 * An Entity Bean's home interface defines one or more find<METHOD>(...) 66 * the matching find<METHOD>(...) method of the home interface. 73 * Entity beans home interface find<METHOD> method exceptions match test. 75 * The following are the requirements for the enterprise Bean's home interface 78 * An Entity Bean's home interface defines one or more find<METHOD>(...) 83 * the matching find<METHOD>(...) method of the home interface. 142 * @param home for the Home interface of the Ejb. 147 private boolean commonToBothInterfaces(String home, EjbDescripto argument [all...] |
H A D | HomeInterfaceFindMethodHasQuery.java | 53 * Entity beans home interface find<METHOD> method throws 56 * The following are the requirements for the enterprise Bean's home interface 68 * Entity beans home interface find<METHOD> method throws 71 * The following are the requirements for the enterprise Bean's home interface 133 * @param home for the Home interface of the Ejb. 138 private boolean commonToBothInterfaces(String home, EjbDescriptor descriptor, String methodIntf) { argument 140 // RULE: Entity home interface are only allowed to have find<METHOD> 147 Class c = Class.forName(home, false, getVerifierContext().getClassLoader()); 199 } // if the home interface found a "find" method 201 } // for all the methods within the home interfac [all...] |
H A D | HomeInterfaceFindMethodMatch.java | 55 * Home interface contains all find<METHOD>(...) methods declared in the home 73 * Home interface contains all find<METHOD>(...) methods declared in the home 109 * @param home for the Home interface of the Ejb. 112 private void commonToBothInterfaces(String home, String remote, EjbDescriptor descriptor) { argument 117 // retrieve the home interface methods 120 Class homeInterfaceClass = Class.forName(home, false, getVerifierContext().getClassLoader()); 129 // between home interface and EJB Class, 215 } // if the home interface found a "find" method 216 }// for all the methods within the home interface class, loop
|
H A D | HomeInterfaceFindMethodReturn.java | 54 * Entity beans home interface find<METHOD> method return type test. 57 * defined in Bean's home interface: 59 * An Entity Bean's home interface defines one or more find<METHOD>(...) 71 * Entity beans home interface find<METHOD> method return type test. 74 * defined in Bean's home interface: 76 * An Entity Bean's home interface defines one or more find<METHOD>(...) 96 // RULE: Entity home interface are allowed to have find<METHOD> 143 * @param home for the Home interface of the Ejb. 148 private boolean commonToBothInterfaces(String home, String remote, EjbDescriptor descriptor) { argument 153 Class c = Class.forName(home, fals [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/primarykeyclass/ |
H A D | PrimaryKeyClassOpt.java | 196 * @param home for the Home interface of the Ejb. 201 private boolean commonToBothInterfaces(String home,EjbDescriptor descriptor) { argument 206 Class c = Class.forName(home, false, getVerifierContext().getClassLoader()); 252 new Object[] {home}));
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/homeintf/ |
H A D | HomeMethodException.java | 114 * both local and remote home interfaces. 116 * @param home for the Home Interface of the Ejb 122 private void commonToBothInterfaces(String home,EjbDescriptor descriptor) { argument 125 Class rc = Class.forName(home, false, jcl); 183 new Object[] {home,descriptor.getEjbClassName(),descriptor.getName()}));
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/session/ |
H A D | HomeInterfaceNoFinderMethodNames.java | 54 * Session beans home interface no finder methods name test. 56 * The following are the requirements for the enterprise Bean's home interface 60 * a finder for them. The home interface for a session object must not define 68 * Session beans home interface no finder methods name test. 70 * The following are the requirements for the enterprise Bean's home interface 74 * a finder for them. The home interface for a session object must not define 87 // RULE: Session home interface are not allowed to have any 98 "Valid: no finder methods were found. Session bean's home interface" + 107 * @param home for the Home interface of the Ejb. 110 private void commonToBothInterfaces(String home, EjbSessionDescripto argument [all...] |
H A D | TransactionDemarcationHomeInterface.java | 54 * Session Bean transaction demarcation type home interface methods test. 56 * bean's home interface. 63 * Session Bean transaction demarcation type home interface methods test. 65 * bean's home interface. 83 // bean's home interface. 164 * @param home for the Home interface of the Ejb. 170 private boolean commonToBothInterfaces(String home, EjbSessionDescriptor descriptor, String methodIntf) { argument 175 Class c = Class.forName(home, false, getVerifierContext().getClassLoader()); 215 // corresponds to a or some methods on the home interface 291 "Valid: TransactionAttribute [ {0} ] for method [ {1} ] is not defined for home interfac [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/session/createmethod/ |
H A D | HomeInterfaceCreateMethodExceptionCreate.java | 55 * Session beans home interface create method throws CreateException test. 57 * The following are the requirements for the enterprise Bean's home interface 60 * A Session Bean's home interface defines one or more create(...) methods. 69 * Session beans home interface create method throws CreateException test. 71 * The following are the requirements for the enterprise Bean's home interface 74 * A Session Bean's home interface defines one or more create(...) methods. 131 * @param home for the Home interface of the Ejb. 136 private boolean commonToBothInterfaces(String home, EjbSessionDescriptor descriptor) { argument 138 // RULE: session home interface are only allowed to have create 144 Class c = Class.forName(home, fals [all...] |
H A D | HomeInterfaceCreateMethodExceptionMatch.java | 56 * Session beans home interface method exceptions match test. 58 * The following are the requirements for the enterprise Bean's home interface 61 * A Session Bean's home interface defines one or more create(...) methods. 65 * matching create method of the home interface. 75 * Session beans home interface method exceptions match test. 77 * The following are the requirements for the enterprise Bean's home interface 80 * A Session Bean's home interface defines one or more create(...) methods. 84 * matching create method of the home interface. 155 * @param home for the Home interface of the Ejb. 159 private boolean commonToBothInterfaces(String home, Strin argument [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/session/stateless/ |
H A D | StatelessCreateNoArgs.java | 94 * @param home for the Home interface of the Ejb. 99 private void commonToBothInterfaces(String home, EjbSessionDescriptor descriptor) { argument 102 Class c = Class.forName(home, false, getVerifierContext().getClassLoader()); 120 new Object[] {home})); 129 new Object[] {home})); 137 new Object[] {home, descriptor.getName()}));
|
H A D | StatelessCreateOnlyOne.java | 54 * Stateless session beans home interface create method test. 55 * The home interface of a stateless session Bean must have a create method. 56 * The home interface must not have any other create methods. 63 * Stateless session beans home interface create method test. 64 * The home interface of a stateless session Bean must have a create method. 65 * The home interface must not have any other create methods. 81 // remote interface. The home interface must not have any 101 * @param home for the Home interface of the Ejb. 104 private void commonToBothInterfaces(String home, EjbSessionDescriptor descriptor) { argument 107 Class c = Class.forName(home, fals [all...] |
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/ |
H A D | EjbRef.java | 112 * @param home Home interface classname 116 public EjbRef(String ejbType, String home, String remote, String link) { argument 117 this(ejbType, home, remote, link, null, null); 125 * @param home Home interface classname 129 public EjbRef(String ejbType, String home, String remote, String link, argument 131 super(home, factory, factoryLocation);
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/elements/ |
H A D | EjbReferencesElement.java | 56 * Load/locate & check other bean's home/remote/bean, ensure they match with 73 * Load/locate & check other bean's home/remote/bean, ensure they match with 94 // jar file. need to load/locate and check other beans remote, home, bean 184 * @param home for the Home Interface of the Ejb 191 private boolean commonToBothInterfaces(String home, String remote,String fileName) { argument 198 Class c = Class.forName(home, false, getVerifierContext().getClassLoader()); 207 "The referenced bean's home interface [ {0} ] exists and is loadable within [ {1} ].", 208 new Object[] {home, fileName})); 218 new Object[] {home,fileName})); 250 classStr = home; [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/cmp2/ |
H A D | SelectMethodExposition.java | 52 * Select methods must not be exposed through the bean home or remote interface 97 private boolean commonToBothInterfaces(String home,String remote,EjbDescriptor descriptor, Result result, Method m) { argument 99 // we must not find this method exposed in the home or remote interface 102 Method m1 = getMethod(Class.forName(home, false, 113 "[ {0} ] is not declared in the home or remote interface", 123 "Error : [ {0} ] is declared in the home or remote interface", 134 "Error: home or remote interface not found.",
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/createmethod/ |
H A D | HomeInterfaceCreateMethodExceptionCreate.java | 55 * Entity beans home interface create method throws CreateException test. 57 * The following are the requirements for the enterprise Bean's home interface 60 * An Entity Bean's home interface defines zero or more create(...) methods. 69 * Entity beans home interface create method throws CreateException test. 71 * The following are the requirements for the enterprise Bean's home interface 74 * An Entity Bean's home interface defines zero or more create(...) methods. 134 * @param home for the Home interface of the Ejb. 139 private boolean commonToBothInterfaces(String home, EjbDescriptor descriptor) { argument 142 // RULE: Entity home interface are only allowed to have create 147 Class c = Class.forName(home, fals [all...] |