Searched defs:method (Results 1 - 25 of 157) sorted by relevance

1234567

/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/endpoint/
H A DMessageEndpoint.java62 * @param method description of a target method. This information about
63 * the intended target method allows an application server to decide
64 * whether to start a transaction during this method call, depending
65 * on the transaction preferences of the target method.
67 * delivery method call on the endpoint must be independent of the
68 * class loader associated with this descriptive method object.
70 * @throws NoSuchMethodException indicates that the specified method
79 * illegal state for the method invocation. For example, this occurs when
81 * method call
86 beforeDelivery(java.lang.reflect.Method method) argument
[all...]
H A DMessageEndpointFactory.java97 * This is used to find out whether message deliveries to a target method
102 * (at a per method level) through its deployment descriptor. The message
106 * @param method description of a target method. This information about
107 * the intended target method allows an application server to find out
108 * whether the target method call will be transacted or not.
110 * @throws NoSuchMethodException indicates that the specified method
115 boolean isDeliveryTransacted(java.lang.reflect.Method method) argument
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/interceptors/
H A DInterceptorUtil.java110 public static void checkSetParameters(Object[] params, Method method) { argument
112 if( method != null) {
114 Class[] paramTypes = method.getParameterTypes();
117 + " method: " + method);
121 + " method: " + method);
127 throw new IllegalArgumentException("Parameter type mismatch for method "
128 + method.getName() + ". Attempt to set a null value for Arg["
134 throw new IllegalArgumentException("Parameter type mismatch for method "
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/spi/sfsb/util/
H A DCheckpointPolicy.java46 * A Utility class to determine if checkpointing is required for a method
55 public boolean needsCheckpoint(Method method); argument
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/impl/core/
H A DProbeClientAnnotationHandler.java52 public void handle(Method method); argument
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DEjbInitInfo.java50 * Contains information about a stateful session bean init method.
67 public void setBeanMethod(MethodDescriptor method) { argument
68 beanMethod = method;
75 public void setCreateMethod(MethodDescriptor method) { argument
76 createMethod = method;
82 sb.append("bean method = " + beanMethod + "\t");
83 sb.append("create method = " + createMethod + "\t");
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DEjbVisitor.java68 * visits a method permission and permitted methods for the
70 * @param method permission
76 * visits a method transaction
77 * @param ejb descritptor this method applies to
78 * @param method descriptor the method
81 public void accept(MethodDescriptor method, ContainerTransaction ct); argument
90 * visits a query method
91 * @param method descriptor for the method
94 accept(MethodDescriptor method, QueryDescriptor qd) argument
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/base/sfsb/util/
H A DCheckpointPolicyImpl.java65 public boolean needsCheckpoint(Method method) { argument
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DEJBObjectInvocationHandlerDelegate.java70 public Object invoke(Object proxy, Method method, Object[] args) argument
73 Class methodClass = method.getDeclaringClass();
77 (this, method, args);
79 result = delegate.invoke(remoteBusinessIntfClass, method, args);
H A DInvocationHandlerUtil.java56 Method method, Object[] args)
68 switch( method.getName().charAt(0) ) {
85 throw new EJBException(method.getName());
55 invokeJavaObjectMethod(InvocationHandler handler, Method method, Object[] args) argument
H A DRemoteBusinessIntfInvocationHandler.java76 public Object invoke(Object proxy, Method method, Object[] args) argument
80 // if method signature has 0 arguments.
82 Class methodClass = method.getDeclaringClass();
85 invokeJavaObjectMethod(this, method, args);
92 (method.getName(), method.getParameterTypes());
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/spi/stats/
H A DEJBMethodStatsManager.java49 public void preInvoke(Method method); argument
51 public void postInvoke(Method method, Throwable th); argument
/glassfish-3.1.2/ejb/ejb-internal-api/src/main/java/org/glassfish/ejb/api/
H A DMessageBeanListener.java65 * initialization is peformed here. In addition, when this method
69 * @param method is the method that will be invoked during deliverMessage.
75 void beforeMessageDelivery(Method method, boolean txImported); argument
80 * @param params to use of the method invocation. Can be null or
93 * When this method returns, the thread's context class loader will be
H A DMessageBeanProtocolManager.java88 * @param method One of the methods used to deliver messages, e.g.
89 * onMessage method for javax.jms.MessageListener.
90 * Note that if the <code>method</code> is not one
92 * of this method is not defined.
94 boolean isDeliveryTransacted (Method method) ; argument
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/cmp2/
H A DFindMethodException.java59 * Run an individual test against a finder method (single or multi)
62 * @param method is the finder method reference
69 protected boolean runIndividualQueryTest(Method method, EjbCMPEntityDescriptor descriptor, Class targetClass, Result result) { argument
71 if (methodThrowException(method, "javax.ejb.FinderException")) {
79 new Object[] {method.getName()}));
89 new Object[] {method.getName()}));
H A DFindMethodHasDescriptors.java60 * Run an individual test against a finder method (single or multi)
63 * @param method is the finder method reference
70 protected boolean runIndividualQueryTest(Method method, EjbCMPEntityDescriptor descriptor, Class targetClass, Result result) { argument
72 if (method.getName().equals("findByPrimaryKey")) {
79 "Passed: Found method findByPrimaryKey",
90 if (queryMethod.getName().equals(method.getName())) {
91 Class mParms[] = method.getParameterTypes();
115 new Object[] {method}));
127 "Error : [ {0} ] seems to be a finder method bu
[all...]
H A DFindMethodsAbstract.java50 * Finder method implementation test
60 * Run an individual test against a finder method (single or multi)
63 * @param method is the finder method reference
70 protected boolean runIndividualQueryTest(Method method, EjbCMPEntityDescriptor descriptor, Class targetClass, Result result) { argument
73 String methodName = method.getName();
75 Method ejbMethod = getMethod(targetClass, methodName, method.getParameterTypes());
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/homeintf/
H A DHomeMethodModifiers.java62 * run an individual home method test
65 * @param method the home method to test
70 protected void runIndividualHomeMethodTest(Method method, EjbDescriptor descriptor, Result result) { argument
81 String methodName = method.getName().replaceFirst(method.getName().substring(0,1),
82 method.getName().substring(0,1).toUpperCase());
86 m = getMethod(ejbClass, expectedMethodName, method.getParameterTypes());
95 "For method [ {1} ] in Home Interface [ {0} ], ejbHome method i
[all...]
H A DHomeMethodNameMatch.java52 * For each method defined in the home interface, there must be a matching
53 * method in the enterprise Bean's class prefixed with ejbHome.
62 * run an individual home method test
65 * @param method the home method to test
70 protected void runIndividualHomeMethodTest(Method method, EjbDescriptor descriptor, Result result) { argument
80 String methodName = method.getName().replaceFirst(method.getName().substring(0,1),
81 method.getName().substring(0,1).toUpperCase());
85 m = getMethod(ejbClass, expectedMethodName, method
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/intf/
H A DInterfaceMatchMethodArgs.java55 * For each method defined in the local or remote interface, there must be a matching
56 * method in the enterprise Bean's class. The matching method must have:
62 * run an individual verifier test against a declared method of the
67 * @param method the method to run the test on
71 Method method,
82 Class[] methodParameterTypes = method.getParameterTypes();
86 // try and find the business method in the EJB Class Methods
90 if (method
70 runIndividualMethodTest(EjbDescriptor descriptor, Method method, Result result) argument
[all...]
H A DInterfaceMatchMethodException.java56 * For each method defined in the local/remote interface, there must be a matching
57 * method in the enterprise Bean's class. The matching method must have:
58 * . All the exceptions defined in the throws clause of the matching method
60 * the method of the local/remote interface.
65 * run an individual verifier test against a declared method of the
70 * @param method the method to run the test on
74 protected boolean runIndividualMethodTest(EjbDescriptor descriptor, Method method, Result result) { argument
84 Class[] methodExceptionTypes = method
[all...]
H A DInterfaceMatchMethodReturn.java55 * For each method defined in the local or remote interface, there must be a matching
56 * method in the enterprise Bean's class. The matching method must have:
62 * run an individual verifier test against a declared method of the
67 * @param method the method to run the test on
70 protected boolean runIndividualMethodTest(EjbDescriptor descriptor, Method method, Result result) { argument
77 Class methodReturnType = method.getReturnType();
86 // try and find the business method in the EJB Class Methods
90 if (method
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/intf/remoteintf/
H A DRemoteInterfaceRmiIIOPException.java53 * Remote interface business method throws clause must include the
66 * run an individual verifier test against a declared method of the
71 * @param method the method to run the test on
74 protected boolean runIndividualMethodTest(EjbDescriptor descriptor, Method method, Result result) { argument
76 Class[] methodExceptionTypes = method.getExceptionTypes();
83 // this is the right exception for method, throws RemoteException
87 "[ {0} ] method properly throws java.rmi.RemoteException.",
88 new Object[] {method.getName()}));
94 "Error: [ {0} ] method wa
[all...]
/glassfish-3.1.2/admin/monitor/src/main/java/org/glassfish/flashlight/datatree/impl/
H A DMethodInvokerImpl.java57 Method method; field in class:MethodInvokerImpl
61 method = m;
64 return method;
81 if (method == null){
82 throw new RuntimeException ("Flashlight:MethodInvoker: method, " +
90 retValue = method.invoke(methodInstance, null);
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/results/
H A DOptionsResult.java51 * Response information object. Returned on call to OPTIONS method.
73 * Returns meta-data object for the given method
75 public MethodMetaData getMethodMetaData(String method) { argument
76 return __metaData.get(method);
81 * Adds meta-data object for the given method
83 public MethodMetaData putMethodMetaData(String method, MethodMetaData methodMetaData) { argument
84 return __metaData.put(method, methodMetaData);
88 * Returns no of method meta-data available.
96 * Returns set of method names for which meta-data is available.

Completed in 96 milliseconds

1234567