http://java.sun.com/xml/jaxrpc/
http://www.jcp.org/en/jsr/detail?id=109
http://jcp.org/aboutJava/communityprocess/final/jsr153/index.html
You will have to write a Handler to propagate principal and credential information.
If you want role-based security at the POJO level, check out these
Hi
After long time I had a fresh look at my code and it happend the exception is _my_
fault. Sorry guys.
During around Forum construction I've returned object of different class, so that
was the cause.
Sorry for this, once more..
t.
View the original post :
Hi,
Have you taken a look at:
http://www.jboss.org/wiki/Wiki.jsp?page=PackagingForJBoss
This changed a bit yesterday, so try the latest from cvs (only affects the example
described on the page).
Cheers,
Kabir
View the original post :
If you specify -report, it will not transform the classes. Why aren't you using our
ant tasks?
For an example of the ant tasks, look in the tutorial.
Bill
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847174#3847174
Reply to the post :
The build deployed to the server/default/deploy directory, while running JBoss w/ the
'all' config polls the server/all/deploy directory :-)
I've modified the build.xml and documentation for this example to use the 'all'
configuration, and made switching between configs easier.
Cheers,
Kabir
Hello
The solution might be to package adviced and non-adviced classes in two different
packages, and instead `*` use sth like:
`bind ... com.mycompany.aoptized.*`.
(unless you have quite complicated package tree)
I don't know if syntax that you provide in the introduction is even supported.
the syntax is:
| introduction expr=!class($instanceof{LoggableImpl}) ...
|
Yes, the doco sucks. Kabir and I will put some effort into it before the last release.
Bill
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847023#3847023
Reply to the post :
Hey Bill,
thanks so much! That works just fine. In response to the doco... well, its sometimes
hard to figure out how to use some stuff, but mostly it is self-explaining. On the
other hand - a bit more would be great! Anyway, thanks again!
Best Regards,
Dennis
View the original post :
Hi Bill,
I tried to use, jspc (created a *.java and a *.class) and aopc, the deploy was ok but
when I called my page I received this error.
Do you have any idea about this?
Ps.: I named my page erro2.jsp
21:54:30,255 INFO [TomcatDeployer] deploy, ctxPath=/erros, warUrl=file:/D:/jbos
Short answer Try:
| $ run -c all
|
Long answer:
It is not really a problem, let me explain:
If you get a clean download of JBoss Application Server and set EnableTransformer to
true, you will see those stack traces. Why?
When you set EnableTransformer to true, it will try and
Bill Burke wrote : Short answer Try:
| P.s. apologiesI actually looked at this problem the first time you posted but
forgot to reply!
|
No problem, thanks for the response. I tried running with run -c all and it does
eliminate the stack traces on startup. Unfortunately, it also
Bill Burke wrote :
| Sorry for the long delay. I'll look into your ClassCast problems if they still
exist with this build.
|
| Thanks,
|
| Bill
Yes, it still exists - had vacations, so did nothing with that - waiting for feedback..
I've forgiven delay :)
t.
View the original
fixed in RC1
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3846184#3846184
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846184
---
SF.Net email is sponsored by
Bill Burke wrote : Sorry, I've been giving training for the last wek and a half
|
No problem, Thanks for replying.
Bill Burke wrote :
| I did not test JBoss integration with JB4 RC1 yet as I have not released JBoss AOP
Beta4(even though it comes bundled with JB4 RC1). You may have to
I'm trying to set class, default or method meta-data at run-time, by constructing
the annotation xml by hand, loading it using the SimpleClassMetaDataLoader and then
calling AspectManager.addClassMetaData(ClassMetaDataBinding)
Here is a snapshot of the code
| String tag = security;
|
I think there is a bug in AspectManager.addClassMetaData. The line
| if (meta.matches(advisor, advisor.getClass()))
|
should actually be
| if (meta.matches(advisor, ((ClassAdvisor)advisor).getClazz()))
|
I've rephrased the method implementation here.
|
| public void
Bill Burke wrote : You may have to revert AOP back to Beta3.
| Bill
Quick Update: Based on the sentence above I assumed you wanted me to replace the jars
in RC1 with the jars from AOP Beta 3. So I replaced the jars in server/all/lib and
server/default/lib although I think I only needed to
Sorry, I've been giving training for the last wek and a half
I did not test JBoss integration with JB4 RC1 yet as I have not released JBoss AOP
Beta4(even though it comes bundled with JB4 RC1). You may have to revert AOP back to
Beta3.
If you can send me a simple test case, I can add it
I don't think JSP aspectizing will work as it uses a different classloader. We will
be improving our classloader integration shortly.
Can you verify JSPs don't work?
I do think it will work if you precompile your jsps.
Thanks and apologies.
Bill
View the original post :
It is not possible to use the AopC compiler as you don't have the .class files in this
moment, so the only possible alternative is to enable the EnableTransformer flag on
\conf\jboss-service.xml.
Have you tried?
In spite of this, I'm not sure the container that create the jsp servlet is under
Bill Burke wrote : I'm not sure what you're saying with this statement:
|
| Modified not to create _transient_ mixin fields.
|
| Can you elaborate?
Hi Bill,
Sorry that you didn't read my erlier post, then you would have known..
1) If you want a singleton mixin, then you can put anything you want in the
construction XML element. So, the mixin reference can be set by calling a method or
setting it to a singleton field of some class.
2) Are you applying the introduction twice? How does C++ work? I want to model
1/OK for the workaround.
Do u think that the scope for a Mixin class could not be supported
at the infrastructure level ?(future version of JBOSS-AOP)
2/ Thx .It does work...FYI ,the full expression for my user-case.
View the original post :
!class($instanceof{org.jboss.aspects.jmx.ReflectedMBean}) AND (has(*
*-@org.jboss.aspects.jmx.ManagedResource(..)) OR
class(@org.jboss.aspects.jmx.ManagedMBean))
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845764#3845764
Reply to the post :
1) PER-VM and PER-Instance are supported. It would be per-class that would have to be
supported.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845766#3845766
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845766
Sorry I'm not able to look at this in very much detail right now.
Also, look at combining the .jar and .aop in an ear as shown in the tutorial. The
tutorial is by now means a complete guide to all possible packaging options, just
shows a few configurations I got working.
I have to admit I
Hi,
Before-After: There is more about this in another post somewhere in this thread, but
basically interception in JBoss AOP is both before and after.
Example:
| public class MyInterceptor implements Interceptor
| {
|public String getName() { return MyInterceptor; }
|
|
Thanks a lot.
After going through the documentation, I revisited my deployment to match what had
been speciifed but I still cant get it to work.
First, I created a .aop of my intercepter class (which I verified worked in the
stand-alone mode) :
| $ jar -tvf SimpleAOP.aop
| 0 Tue
Thanks Bill,
That was very informative.
Another query. AspectJ supports the notion of being able to define as to when you need
an advice to be executed - before or after. So far as my understanding goes, JBoss AOP
appears to be more interception based which appears to say ..when call X is
Sorry for replying to my own post.
Just another query. Would the interception for an EJB be different from that of a pure
Java class ?
Here is a test I tried.
- Created an entity bean with method findWithID(int) and deployed it in JBoss 3.2.5
following the instructions specified.
- I defined
Added a fix shortening the names of optimized caller invocation classes, and it now
works on jdk 1.4.1 and 1.4.2
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844891#3844891
Reply to the post :
Does anyone have any opinions/comments/solutions to this subject? Any thoughts/ideas
would be much appreciated. Essentially I'm trying to modify aspect definition custom
attribute values on the fly and re-generating the advice bindings but unfortunately
the new values don't quite reflected in
kabkhan wrote : Weird, I unzipped your file and it compiled fine. Hope I'm not
missing something! For what it's worth I'm using jdk 1.4.2 and ant 1.6.1, my output
follows:
|
Hi. I checked other j2sdk versions:
j2sdk1.4.1_06 (win) - problem exists
1.4.2_05 (win) - problem doesn't exists.
I'll try upgrading my jdk 1.4.2 to 1.4.2_06, and try again.
There does not currently seem to be any support in the ant task for turning off
optimize. You can turn optimization on/off by changing the AspectManager.optimize
boolean member. (org.jboss.aop.AspectManager line 91) and rebuild aop.
kabkhan wrote : I misread 1.4.1_06 to be 1.4.2_06, and was wondering whyit does not
exist. I'll get Bill to verify, but I believe you must use 1.4.2.
|
| Cheers,
|
| Kabir
Hi,
I don't know if I understand your answer correctly (or you understood me). So,
repeating in other words:
Maybe the full file/directory path is too long? It is saying it cannot find file.
(The system cannot find the path specified)
I know there is a limit on windows. But it doesn't make sense that it doesn't work on
JDK 1.4.1. I'll put in a task to shorted generated classnames for the optimized
kabkhan wrote : Hello there,
|
| I've added a fix for this. Can you get the latest from cvs and try again?
|
|
Hi, I would like to, but..
I need help with cvs compilation. I did like Bill said:
(windows)
| cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss login
| cvs -z3
jboss aop relies on some files from the common module of jboss. Easiest thing to do is:
| $cvs checkout jboss-head (YOU HAVE ALREADY DONE THIS...)
| $cd jboss-head
| $cd build
| $build (This builds all of jboss, including aop)
| $cd ../aop
| $build dist
|
Now that you have got
Ok.
I figured it out after a while, and did as you said. Problem is with finding door: and
it was building all jboss. So, thanks anyway.
Let's go back to the problem. I compiled today's version of JBossAOP, and switched
jboss-aop.jar only. Before the operation, everything (with `execution of
Hi,
All the tests work, so it would be cool to find out what is slipping through the net.
Can you please upload an example to the wiki, and post the link?
Thanks
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844664#3844664
Reply to the post :
Also, can you try changing the optimized mode to false, and see what results that
gives you.
You do this by setting the jboss.aop.optimized system property to false. Even if that
works, if you could post the example that would be greatly appreciated.
Thanks
View the original post :
kabkhan wrote : Also, can you try changing the optimized mode to false, and see what
results that gives you.
| You do this by setting the jboss.aop.optimized system property to false. Even if
that works, if you could post the example that would be greatly appreciated.
|
| Thanks
Ok, I
Weird, I unzipped your file and it compiled fine. Hope I'm not missing something! For
what it's worth I'm using jdk 1.4.2 and ant 1.6.1, my output follows:
| [EMAIL PROTECTED] /c/Temp/JBossError
| $ ant -verbose
| Apache Ant version 1.6.1 compiled on February 12 2004
| Buildfile:
Can you try CVS Head? This may have been fixed there.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844555#3844555
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844555
The latest from cvs fixes this
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844560#3844560
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844560
---
This SF.Net email
I'm running a testcase on jboss-profiler module (download it from CVS if you want to
run the same testcase) which I'm using private methods, and it's working fine.
I don't know if you have done it or not...
Are you sure you are calling invocation.invokeNext() in your interceptor?
This is just
clebertsuconic wrote :
| Are you sure you are calling invocation.invokeNext() in your interceptor?
|
| This is just a guessing, but at a first look looks like you are calling the
| banking.aspects.persistance.PreparedStatements.getConnection
| instead invocation.invokeNext().
|
Well...
The testcase I have it's very simple, and I'm using Interceptor there. (Not aspect)
The ant target to active the testcase is aop-test or aop-test-classloader
The sourcetree is:
/jboss-profiler/java/src/aopAgent/org/jboss/profiler/aop/test
View the original post :
I'm investigating a fix. For now, could you try using something else than caller
pointcuts? For example:
| aspect class=banking.jbossaop.transactions.DbConnectionAspect scope=PER_VM /
| bind pointcut=execution(*
banking.aspects.persistance.DatabaseGateway-getConnection())
|
Hi,
Problems with cvs compilation:
First: downloaded whole jboss cvs tree (default branch)
cd jboss-aop
build.bat dist
Second: In file: jboss-aop/build.xml line:
| fileset dir=${project.thirdparty}/xdoclet-xdoclet/lib
| is incorrect. There is no dir called xdoclet-xdoclet.
But I
It should be:
| $ cvs checkout jboss-head
| $ cd jboss-head/aop
| $ build.sh dist
|
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844572#3844572
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844572
We know the problem and the bug fix for it. Will fix ASAP.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844574#3844574
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844574
kabkhan wrote : I'm investigating a fix. For now, could you try using something else
than caller pointcuts? For example:
|
| | aspect class=banking.jbossaop.transactions.DbConnectionAspect
scope=PER_VM /
| | bind pointcut=execution(*
Hello there,
I've added a fix for this. Can you get the latest from cvs and try again?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844604#3844604
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844604
Thanks Bill,
What do you mean by dynamic? I know that dynamic means different things in the AOP
world.. for instance AspectJ folks might say that their CFLOW is dynamic as it
collects information as the program is running yet is still to all intents and
purposes a compile time technique.
Ok, that's a bug. I need to parse for float, int, etc...
apologies.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844618#3844618
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844618
Hi,
Can you please show the relevant bits of your ABConnection class and jboss-aop.xml
file?
Thanks
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844482#3844482
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844482
Well, not sure if what I'm doing qualifies as hot-deploy or not, but I have a console
that acts as an interface to dynamically at run-time attach and detach advices to the
advice stacks. And in turn the advice stacks updates every AdviceBinding that it
references internally.
My concern is more
So I just did a small experiment and it seems like in whatever order the advice
bindings were created, that was the order in which the advices/interceptors were
ordered.
Meaning if I attached the advice to SpecificMethod pointcut binding first and then
AllMethods pointcut binding next. Then
Yes.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844463#3844463
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844463
---
This SF.Net email is sponsored by OSTG. Have
You can hotdeploy a pointcut definition, but this does not cause bindings to be
reapplied. Am I making sense? So, if you modify AllMethods at runtime and
redeploy it, bindings will not be recalculated.
Currently, the code isn't smart enough to know if the binding references a named
Why JBoss AOP over AspectJ?
- 100% pure Java
- annotation support (JDK 1.5 and 1.4)
- Metadata and annotation override facility
- load-time transformations (instead of compile time)
- hotdeployment of aspects (dynamic AOP)
- per-instance API (dynamic AOP)
- dynamic CFLOW
- pluggable pointcuts
-
Better would be:
| ((ClassAdvisor)invocation.getAdvisor()).getClazz();
|
This is because getTargetObject may be null for static members.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844304#3844304
Reply to the post :
We don't support this. If you'd like to contribute it, it would be most welcome.
Bill
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844305#3844305
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844305
Taken a quick look at the code for the above, and the assumption above regarding
ordering of interceptors seems safe.
Now, in response to your actual question :-) The global/specific stuff is fine.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843975#3843975
Sorry, for some reason my xml lines got stripped off, the aop xml looks like
| pointcut name=Method1 expr=execution(*
test.TestServiceBean-method1(java.lang.String)) /
| pointcut name=AllMethods expr=execution(* test.TestServiceBean-*(..)) /
|
| bind pointcut=Method1
| interceptor
Invocation.getTargetObject().getClass().getName()
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843938#3843938
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843938
In my experience the bindings are applied top-down, i.e. in your example
Interceptor1 should be applied before StackOne. I'm not 100% sure if this is
documented behaviour though
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843939#3843939
Reply to the post
If you get the latest from cvs head, there are some examples for packaging under
aop/docs/examples/injboss
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843731#3843731
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843731
Hi, there.
This is my first post after checking out JBossAOP, and implementing persistance and
transaction layer for my POJOs with it.
So ...
Is it possible to intercept element-of-an-array assignment?
I mean:
| //I'd like some code here (through Interceptor, of course)
| myArray[5] =
I'm also interested in this. What are the major reasons for choosing JBoss AOP over
AspectJ or even Aspectwerkz?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843673#3843673
Reply to the post :
sorry for the late response. With current CVS head I was able to write a unit test
that had these pointcuts you described above with no problems. Maybe I have fixed
something since Jun, I don't know.
|
| bind pointcut=execution(public * $instanceof{javax.ejb.SessionBean}-*(..))
JBoss AOP has changed significantly since the DR2 release.
advisable is now prepare
http://www.jboss.org/wiki/Wiki.jsp?page=DynamicAOP
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842020#3842020
Reply to the post :
This should work
| execution(void java.lang.Object[],com.pkg.CustomObject[])
|
|
Don't forget that any class, even if it is in java.lang package must be fully
qualified.
Bill
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842134#3842134
Reply to
You can place the .war directly within the sar. So the sar would look like this:
| kado.sar/
| kado.aop
| kado.war
|
if that doesn't work, let me know.
Bill
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841869#3841869
Reply to
Yes this works!
Thanks
Karsten
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841876#3841876
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841876
---
This SF.Net email
You are getting the error because the Interceptor is in the same package expression as
the class you are trying to intercept. Thus, you have an infinite loop.
Put your interceptors in another package that doesn't match your wildcard.
Bill
View the original post :
Are you running inside JBoss?
AOP is packaged similarly to SARs(Mbeans). You can either deploy an XML file directly
in the deploy/ directory with the signature *-aop.xml or you can use the JAR format.
The JAR format must have the file extension .aop and a jboss-aop.xml file must be
contained
Since you are not running within JBoss you need to use System properties to tell JBoss
AOP how to resolve XML files to be deployed.
Please see our WIKI for more information
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841812#3841812
Reply to the post :
JBoss AOP aopc will generate a bunch of class files that are optimized versions of
Invocation classes. When in doubt, blow away your class directory with everything in
it. Looks like you cleaned up DBBasicManager.class, but not the generated AOP class
files.
Bill
View the original post :
http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer
Use 4.0DR4 and Overwrite with jars from JBoss AOP beta3 distribution.
Bill
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841814#3841814
Reply to the post :
Sorry I forgot to specify my environment:
J2SDK 1.4.2_04, JbossAOP 1.0 beta3.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841186#3841186
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841186
If I change jboss-aop.xml to
?xml version=1.0 encoding=UTF-8?
aop
bind pointcut=execution(public * es.pfc.test.TestAOP-*(..))
interceptor class=es.pfc.test.aop.MethodAuthorizationInterceptor/
/bind
/aop
The sample works fine, but I don't know why?
View the original post :
You must specify the fully qualified name of the class, an $instanceof{} expression or
a $typedef{} expression.
I'm afraid I don't know if your problem is a bug or the expected behaviour.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841188#3841188
Reply to
Sorry, I don't understand you. I'm specifying the fully qualified name of the class:
bind pointcut= execution(public * es.pfc.test.TestAOP-*(..))
but when I use wildcards it doesn't work
bind pointcut= execution(public * es.pfc.test.*-*(..))
View the original post :
I was just stating what you already found out :-) I _think_ you must specify the full
name of the class.
If the error you get using wildcards is by design or a bug I don't know...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841191#3841191
Reply to the
Well, I've got it works but I need to set the system variable:
-Djboss.aop.path=/home/eduardotp/Aplicaciones/jakarta-tomcat/webapps/multi/WEB-INF/classes/jboss-aop.xml
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841192#3841192
Reply to the post :
Hehe, sorry, I need to improve my english :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841193#3841193
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841193
---
This
Look at instanceof in the tutorial. Is that what you mean?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841240#3841240
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841240
aop
bind pointcut=execution(public *
es.bancoval.bfci18n.support.commands.*-*(..))/
interceptor class=es.bancoval.bfci18n.aop.MethodAuthorizationInterceptor/
/bind
/aop
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841104#3841104
Reply
Mixins are definitely a good start, but nevertheless it's very hard, because I have to
split the aspect into the static (mixin) and the dynamic part (interception). My
feelings about this are that this is not in the spirit of AOP.
But let's get to the facts. As far as I understand the WIKI
I took a look at your example:
1) Initially when I ran it the class cast failed. However, I found this to be due to
running within Eclipse, with your jboss-aop-stack on the source path. And my personal
build.xml is set up to use the Eclipse output classes. For some reason, this was
causing
Ops!
| public class StackHeightAspect implements IStackHeight
| {
| private int height;
|
| public int size ()
| {
|return height;
| }
|
| public Object pushInvocation ( MethodInvocation invocation ) throws Throwable
| {
| ++
Many, many thanks, I would have been lost without you! You saved me at least one week
reading (and trying to understand) the JBoss AOP source code.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841007#3841007
Reply to the post :
I'm not familiar with AspectJ, but I think the examples you show (if I have understood
them correctly) should be possible with JBossAOP. I'm just thinking loud, but with a
combination of mixin classes and per instance aspects I reckon you could acheive what
you're after. They are documented on
Bill is at Java One, and should be able to give a proper answer when he is back. In
the meantime:
Two people are working on Eclipse support at present, so expect something in that area
soon.
You can use JBoss AOP with 3.2.4 or higher, docs/misc/running_jboss.html in the
distribution shows
(corrects previous post)
In my jboss-service.xml I have:
| ...
| attribute name=EnableTransformertrue/attribute
| ...
|
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839608#3839608
Reply to the post :
Hmm... I would like to add that the reference to
org.jboss.aspects.security.SecurityClassMetaDataLoader
comes from base-aop.xml that I copied from the 4.0.0DR4 release to the /conf
directory.
However, if this file is removed entirely the startup complains about that too (Failed
to obtain
No I did the following (basically):
* Downloaded Jboss 3.2.4
* Copied the jar files (for aop and the aspects)
* Modified the jboss-service.xml
* Added the base-aop.xml to the conf dir
... And deployed my aop app.. worked...
/mario
jboss-service.xml --
!-- Aspect
Hi, thanks for replying...
I think the problem has got to do with the fact that I need to use the customized
classloader approach...
In my aspect configuration of jboss-service.xml I use
| attribute name=EnableTransformertrue/attribute
|
to enable this. I noticed that you had not done
301 - 400 of 643 matches
Mail list logo