yes, this bug has been fixed in later releases of JBoss.
PLEASE POST ON EJB USER FORUM!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838486#3838486
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838486
I thought JDK 1.5 was going to be released at JavaOne?
Yes, 1.0 is tied to JDK 1.5 release...
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838507#3838507
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838507
I think only PER_INSTANCE aspects are created on-demand. The whole Aspect container
for PER_VM, PER_CLASS, and PER_INSTANCE would have to be switched to get Aspect
instances on demand. I do not want to add this overhead to the system. SO, I think
an entire binding redeploy would be needed. I
This is a packaging issue:
http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer
Also, there is a server/xxx/conf/base-aop.xml file in which you can put AOP
definitions as well.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838728#383872
Are you doing load time or precompiled aspects?
if you are doing load-time then you must set the EnableTransformer attribute to true
within the AspectManagerService MBEAN within
jboss/server/xxx/conf/jboss-service.xml
It is turned off by default because JBoss boots up a little slower.
Let me k
Can you send me your example?
[EMAIL PROTECTED]
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838954#3838954
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838954
You mean do precompilation without ant? Or just run the application without ANT?
I think the docs on WIKI tell how to run an application at command line. You must
specify a system property jboss.aop.path that points to your XML files, or your XML
files must be embedded in the jars in your clas
This is on my todo list, but I've never gotten around to it.
So you want a SecurityContext object that has:
getCaller
getRole
isCallerInRole
what else?
To get access to it, I was thinking of a field annotation.
| public MyClass {
|@Inject SecurityContext securityContext;
|
| }
You should be able to do:
| call(* $instanceof{EJBInterface}->*(..))
|
You said that didn't work. Either there is a bug in JBoss AOP, or you did something
wrong. I haven't had a chance to look into it. If you could, please debug this
problem and get back to me of why it doesn't work.
I have somebody working on improving load-time transformation.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839698#3839698
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839698
--
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 :
http://www.jboss.org/index.ht
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 i
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=bb&op=viewtopic&p=3841812#3841812
Reply to the post :
h
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 :
ht
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=bb&op=viewtopic&p=3841814#3841814
Reply to the post :
http://www.jboss.org/inde
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=bb&op=viewtopic&p=3841869#3841869
Reply to
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=bb&op=viewtopic&p=3842020#3842020
Reply to the post :
http://www.jboss.org/index.html?module=b
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=bb&op=viewtopic&p=3842134#3842134
Reply to t
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.
|
|
|
|
|
|
View the original post :
http://www.jboss.org/index.
Sorry, the SAR archive should look like:
| kado.sar/
| kado.aop
| kado.war
| META-INF/
| jboss-service.xml
|
jboss-service.xml should be empty except:
|
|
|
|
I haven't tried this yet, but this may work too:
| kado.jar/
| kado.a
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"
point
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
- ext
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=bb&op=viewtopic&p=3844304#3844304
Reply to the post :
http://www.jboss.org/index.html?
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=bb&op=viewtopic&p=3844305#3844305
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844305
-
Can you try CVS Head? This may have been fixed there.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844555#3844555
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844555
--
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=bb&op=viewtopic&p=3844572#3844572
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=3844574#3844574
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844574
-
I think Scott and I discussed this a little before, but I'd like to have the EJB and
Web ENC be based on a ThreadLocal variable rather than using the context classloader
for determining the ENC.
Specially, store it in org.jboss.aop.metadata.ThreadMetaData.
Bill
View the original post :
http:/
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=bb&op=viewtopic&p=3844618#3844618
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844618
---
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 optimize
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
virtu
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=bb&op=viewtopic&p=3845766#3845766
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845766
--
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 :
http://www.jboss.org
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 t
--
JBossAOP 1.0 RC1
--
* New $typedef feature. Allows you to define type expressions, name them, then use
them in pointcut definitions. See the typedef example in tutorial.
* added PER_JOINPOINT scoping for Aspects. An aspect instance is allocated per
joinpoint.
* aop no
fixed in RC1
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846184#3846184
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846184
---
SF.Net email is sponsored by Sho
Just committed code to take advantage of JDK 5.0's java.lang.instrument package. I
think we may even be able to instrument JDK system classes with this approach.
Haven't tried yet.
To try it out, build the distribution and look at the build scripts of the tutorial.
Bill
View the original pos
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 transform
FYI, this is a dev list, not user questions/problems...
Are you using your own container configurations? I think the defaults may have
changed for JBoss 3.2.5 from 3.23
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846897#3846897
Reply to the post :
http:
Doesn't seem to be any activity in 6 months. Is anybody using this module? We may
remove it from the official download.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846949#3846949
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=pos
eployer".
On a related note. AOP is now packaged as a .deployer file.
Bill
--
====
Bill Burke
Chief Architect
JBoss Inc.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846951#3846951
Reply to the post :
http://www
the syntax is:
|
|
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=bb&op=viewtopic&p=3847023#3847023
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mo
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=bb&op=viewtopic&p=3847174#3847174
Reply to the post :
http://www.jboss.o
In JBoss 4.0 and J2EE 1.4. Stateless Session EJBs can be exposed as web services.
You can propagate principal and credentials using basic auth, but the spec really
doesn't specify security semantics.
Security isn't difficult to write as an aspect, but what is difficult is plugging in
how the
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 aspect
If a particular joinpoint is "prepared" you do not have to recompile or even shutdown
the JVM to add or remove an advice from a particular joinpoint. You can also
add/remove interceptors on a per instance basis at runtime with a prepared joinpoint.
How to prepare?
This will instrument the cl
I think I know what the problem is. I don't think Javasssist's copy method copy's
CodeAttributes which have the line numbers. I'll see what I can do.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848596#3848596
Reply to the post :
http://www.jboss.o
Seems like one of the aspect services failed to deploy. Is there any stack traces in
bootup?
Thanks,
Bill
BTW, I have not tested JBoss 3.2 integration with latest RC releases yet.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848608#3848608
Reply to th
yes, we absolutely need precedence. I hope it gets into the initial release.
What is your suggestion for syntax? Pure XML? A Package annotation? Per Aspect or
Per Advice?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848790#3848790
Reply to the post :
We would defintely be interested in it if you were willing to maintain and document it.
Contact me: [EMAIL PROTECTED] and CC [EMAIL PROTECTED]
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848791#3848791
Reply to the post :
http://www.jboss.org/index
I'm looking for some use cases for our pointcut language supporting local variable
annotations. Anybody have any ideas?
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848799#3848799
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=post
You may be able to use JBossCache. I'm not sure if you can register to listen for
cache changes (so that you can update the aspectmanager), but you could use JBossCache
and use JGroups to send a notification to the cluster to update the AspectManagers.
What I"m REALLY interested in is a DEFAULT
If you have an interesting aspect you would like to contribute and are willing to
document and maintain it, please contact us: [EMAIL PROTECTED] We will include it in
our documentation and give you CVS access.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtop
Bill Burke wrote:
> Does JBoss cache have the ability to register for cache changes? I have an AOP user
> that is building a dynamic cluster-wide aspect manager. They need the ability to
> have a replicated shared cluster-wide structure, but need to be able to notify on
> changes
The caller pointcut should not be called.You can use the -report switch with the
precompiler (the ant task would be report="true") and it will dump out all matching
joinpoints and the bindings that they are attached to.
a) are you using a "call" pointcut anywhere? It looks like you are. (or
No. The @Tx annotation is not @Inherited and JBoss AOP doesn't support @Inherited
annotations (when they trigger pointcut bindings).
Thanks for bringing it up. I'll add it to the list.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849009#3849009
Re
Is JCoverage free?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849012#3849012
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849012
---
This SF.Net email is spons
Yikes, sorry I missed your post before
This may be a better approach:
|
|
|
|
This will bind your interceptor to every constructor of every class tagged as @my.root.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849011#38
Ok, this is fixed in HEAD and will be in RC2 release on Friday.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849145#3849145
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849145
---
Your pointcut expression was incorrect. You must do
| call(* $instanceof{java.sql.Connection}->*(..))
|
Unfortunately, $instanceof cannot take wildcards at this time.
If this is it, let me know.
Thanks,
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtop
execution and set/get do not make sense with within as their purpose
is to totally wrap EVERY invocation.
within and withcode only make sense with call. I guess a callfield is necessary.
I'll add that to the TODO.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=vie
which error are you seeing?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849285#3849285
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849285
---
This SF.Net email
You must also have the jboss-aspect library within the lib/ directory.
Let me know if that fixes it.
Thanks,
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849294#3849294
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=re
What exactly is the error?
This WIKI page is out of date. It needs to be updated. I didn't get a chance to do
it before the FINAL release. We'll be putting out a detailed reference guide on
Friday.
The AspectDeployer service is not emedded in the aop.deployer jar and can be
configured in ao
Ok, I have updated the WIKI page. Let me know if that works for you.
Sorry for crappy installation. WE'll improve this with the next release.
Regards,
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849298#3849298
Reply to the post :
http://www.jboss
the bug is that he is using the AOP framework incorrectly. He must use $instanceof{}.
But, $instanceof{} is not complete in that it needs to support wildcards and
annotations which it does not now.
But, I'll add the fix to findMethodHash anyways.
Bill
View the original post :
http://www.jbo
I have not tested RC1 yet with 3.2.5.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849306#3849306
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849306
---
This SF
you cannot get arg1 as it is higher in the stack.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849319#3849319
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849319
---
BTW, the fix to findMethodByHash is in CVS and will be in RC2 on Friday.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849343#3849343
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849343
--
Ok, RC1 will not work with JBoss 3.2.5 as the base deployer class has changed in 4.0.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849344#3849344
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849344
---
what are the exact semantics of before/after?
You get the same thing with around. You want before?
| try
| {
| doBefore();
| invocation.invokeNext();
| }
|
You want after?
| try
| {
|Object rtn = invocation.invokeNext();
| doAfter();
| return rtn;
JBoss AOP RC1+ does not work with JBoss 3.2.5.
JBoss AOP RC1+ does work with JBoss 3.2.6RC1+ but only with the precompiler.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849424#3849424
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=p
I'm pleased to announce the release of JBoss AOP 1.0 RC2. We're getting closer to our
1.0 release next month. Kabir Khan joined the team fulltime September 1st and has done
an amazing job helping out. We put a lot of effort into documentation this release and
have written a reference guide in do
Not in there yet, but I think you can do it with either an introduction, or an
execution pointcut.
The introduction would introduce the read/writeObject method if the object did not
implement Externalizable. If the object does implement Externalizable, then intercept
the read/write of the Exte
before/after returing/after throwing could easily be added to JBoss AOP with a day of
work,
But
Again, I still see this as nothing more than you wanting to avoid having a
try/catch/finally block, or to avoid calling invocation.invokeNext(). IMNSHO,
ordering of aspects and how the aspect
Yes, I wanted to do this as well for awhile.
I wanted aspects scoped per ClassLoader domain, per Loader Repository. If you're
interested in implementing, let's discuss over email some ideas.
[EMAIL PROTECTED]
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38
"charles_blaxland" wrote : I've been writing some aspects with JBoss AOP and I like it
a lot so far :)
|
| Some questions/suggestions:
|
| - The "within" scope limiter doesn't seem to work with field/set/get pointcuts?
Should it?
|
|
I'll add this to the list. So, the answer is
If you use load time transformation, then yes, it is definately more expensive to have
caller pointcuts although I haven't done any measurements. If you use the AOP
precompiler, doesn't really matter how slow it is...
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=
BTW, feel free to advertise the aspects you are writing on our WIKI.
http://www.jboss.org/wiki/Wiki.jsp?page=ContributingYourOwnAspects
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851493#3851493
Reply to the post :
http://www.jboss.org/index.html?mo
fixed in CVS. 1.0 will go out next week.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851593#3851593
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851593
---
Thi
On "within" + get/set. This is not possible. We will look to adding this after the
1.0 release.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851594#3851594
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851594
--
Short answer is YES
For our new doco here:
http://docs.jboss.org/aop/aspect-framework/reference/en/html/running.html
anonymous wrote :
| You need to tell JBoss AOP where the xml configuration files of your bindings
are. This can be done in one of these two ways:
|
| * Set the jbo
Not sure if this was clear enough, but there is brand new AOP documentation.
PDF, HTML.
The User guide is a work in progress, but the reference manual is mostly complete.
http://docs.jboss.org/aop/aspect-framework/
Regards,
Bill
View the original post :
http://www.jboss.org/index.html?module=
you can't have multiple XML's per Jar file. BUT... You can have multiple JAR files
that have an xml file within them.
We could implement this thoughInterested in doing it?
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849868#3849868
Reply to the
Can you spec this out more? I don't understand what you mean.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849908#3849908
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849908
oh, ok, good idea
i
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849991#3849991
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849991
---
This SF.net email is
See here:
http://jboss.com/index.html?module=bb&op=viewtopic&t=54897
Congrats to Marshall for putting together such great integration in such a short
period of time. Let's try and help him find some problems before the 1.0 release this
month of JBoss AOP!
Especially look at the tutorial. Ni
Thanks, fixed...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850772#3850772
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850772
---
This SF.net email is sponso
The way the AOP deployer works is that when jboss-aop.deployer is deployed, it inserts
.aop and aop.xml into the MainDeployer suffix list.
ARe you having problems?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851713#3851713
Reply to the post :
http://w
I don't believe you can intercept code with JSPs within precompiling the JSPs.
You MAY be able to do this with JDK 5.0 and our instrumentor, or the new JDK 1.4
classloader stuff we have in HEAD. Kabir is going to take a look.
View the original post :
http://www.jboss.org/index.html?module=bb&o
JBoss AOP works in two ways. Either you precompile your Java .class files to push in
the AOP stuff, or you set JBoss AOP up so that it does the bytecode transformations at
runtime when the class is loaded. Load-time transformation requires hooks into the
classloader.
With JDK 1.4, we origin
hany_bee,
What about a servlet filter or a Tomcat valve? This is how we implemented JBoss
Security integration with Tomcat. If you're dealing with web requests
(HttpServletRequests), then a filter or valve is probably a better solution anyways...
Thomas,
Kabir is working on JSP side of thin
Finally got around to fixing this. Its in CVS now, will be in 1.0 Final release this
week.
Bill
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851754#3851754
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851754
--
The jboss-common.jar dependency still exists. Why would it matter with other app
servers? Its only using a few org.jboss classes.
Read this and let me know if it answers your config questions:
http://docs.jboss.org/aop/aspect-framework/reference/en/html/xml.html#xml-aspect3
View the original
See section 4.4.4. You can write your own factory by implementing AspectFactory which
accepts an Element.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851823#3851823
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=385
Squeak, does deploying an EAR alone with precompiled classes not work? It should. A
.aop file is not needed.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851894#3851894
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p
We will work on precedence after the 1.0 release. We're currently trying to close
bugs and finish documentation.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851895#3851895
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=repl
No, it is not possible with JBoss AOP. The reason? It is because there is no class
to massage...Our EJB implementation does not generate any class that implements the
home interface. If you implemented BMP customer finders or home methods on the bean
class, then yes, JBoss AOP could be used.
No, that is incorrect. Nothing implements the home interface (not even customer
finders and home methods) The EJB container handles home invocations dynamically or
these methods are implemented in methods on the Bean class as ejbFindMETHOD or
ejbHomeMETHOD methods.
Bill
View the original po
I wonder if the javac target in Ant has the same problem as I based aopc on this code.
I will try and resolve your request...We need to release 1.0 this week as other JBoss
Inc. projects are waiting on it so I can't promise anything.
But, this is a serious usability bug, so I'll put cycles into
1601 - 1700 of 2011 matches
Mail list logo