aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Get full class name in Interceptor. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Get full class name in Interceptor." Watch "Get full class name in Interceptor." New topic
Author

Get full class name in Interceptor.

Arvind Porlekar
Ranch Hand

Joined: Dec 31, 2008
Posts: 38
Hi,

i am using EJB 3.0 with Class level interceptor. Also i am using SLF4J for storing logs into log file. But when i call the bean, the log are saved into the log file with
BeanName + _xkoahy_Impl appending.

Can i get only the class name instead of _xkoahy_Impl appending.??
This is my code inside Interceptor







Also i am storing parameter into the log file, but parametr also printed with [Ljava.lang.Object;@78def


do i need to overide toString() method...??


Thanks and regards
Arvind
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Get full class name in Interceptor.