Search:

Type: Posts; User: kulkarnipb; Keyword(s):

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    1,257

    Add one line -

    Add one line - <property name="packagesToScan" value="com" /> , like below -

    <property name="hibernateProperties">
    <props>
    <prop key="hibernate.dialect">${hibernate.dialect}</prop>
    <prop...
  2. Replies
    2
    Views
    2,231

    org.apache.commons.lang.SystemUtils

    SystemUtils class is present in the common lang jar -
    org.apache.commons.lang.SystemUtils
  3. I think - this is the solution

    I created a new class -


    @Component("ss")
    public class SampleClass {

    @LogInfo(loggerClass = SampleClass.class)
    public void myLogTest() {
    System.out.println("####### Hi");
    }
  4. I did that

    I read the chapter 6 , but still unable to figure out what is wrong in my code ?

    1. My aspect is declared

    2. Pointcut is also specified for an anotation @LogInfo
    (I changed...
  5. Why my Aspectj code not working? Please help

    I want to print a log statement before every method execution .

    I have developed below spring annotated aspect code for this, but it is not working . can anyone help to get this working ?


    ...
  6. How to access class form a jar not present in weblogic classpath

    Version: Spring 2.6
    I have a spring application deployed on weblogic server. All the spring config xmls are present in the classpath .
    I want to change a spring bean in the psring xml file,
    from...
  7. How to implement interceptor or filter?

    I have a controller -



    Controller
    public class MyController {

    RequestMapping ("/test.do")
    public ModelMap MyTest(HttpSession session,HttpServletRequest req){
    ....
Results 1 to 7 of 7