[Design of POJO Server] - Re: ManagedOperation aspects for the ProfileService.Manageme
by adrian@jboss.org
"alesj" wrote : I've added the following code to KernelBus:
Why did you go to all this extra work of creating joinpoints and all the other rubbish?
All that was required was to extend the dispatch api to have the name of the target
and add that to the kernel bus api.
e.g.
| /**
| * Invoke method / operation
| *
| * @param name the name of the target
| * @param methodName method name
| * @param parameters parameter values
| * @param signature method's parameter types / signatures
| * @return invocation's return object
| * @throws Throwable for any error
| */
| Object invoke(Object name, String methodName, Object parameters[], String[] signature) throws Throwable;
|
A bus is just the same api as a single context with the target found by looking up
the name in a registry. The name being the extra parameter.
The rest of the api you've created, is just useless object construction and irrelevant
implement details.
NOTE: Even the joinpoint stuff in the existing KernelBus is irrelevant.
It is legacy from when I was experimenting with AOP/POJO and JMX implementing the
Joinpoint api. The DispatchContext replaced this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087183#4087183
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087183
18 years, 6 months
[Design of JBoss Build System] - Trying to release jboss-ejb3-cache
by wolfc
I'm having a release problem with ejb3-cache:
[INFO] Working directory: /home/carlo/work/ejb3/ejb3-cache
| [INFO] Tagging release with the label jboss-ejb3-cache-0.11.0...
| [INFO] Executing: svn --non-interactive copy --file /tmp/maven-scm-1736308454.commit . https://svn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-cache-0...
| [INFO] Working directory: /home/carlo/work/ejb3/ejb3-cache
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD FAILURE
| [INFO] ------------------------------------------------------------------------
| [INFO] Unable to tag SCM
| Provider message:
| The svn tag command failed.
| Command output:
| svn: Commit failed (details follow):
| svn: Directory '/home/carlo/work/ejb3/ejb3-cache/src/test/java/org/jboss/ejb3/test/xpc' is missing
|
| [INFO] ------------------------------------------------------------------------
| [INFO] For more information, run Maven with the -e switch
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 25 seconds
| [INFO] Finished at: Fri Sep 21 12:42:26 CEST 2007
| [INFO] Final Memory: 5M/10M
| [INFO] ------------------------------------------------------------------------
It appears to be a svn problem. The xpc directory is marked as deleted in entries (and thus not on the filesystem).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087164#4087164
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087164
18 years, 6 months