Package org.codehaus.plexus.personality.plexus.lifecycle.phase

Examples of org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable.initialize()


  public void before() throws Exception {
    TransportManager manager = Cat.lookup(TransportManager.class);
    Initializable queue = Reflects.forField().getDeclaredFieldValue(manager.getSender().getClass(), "m_queue",
          manager.getSender());

    queue.initialize();
    m_queue = Reflects.forField().getDeclaredFieldValue(queue.getClass(), "m_queue", queue);
  }

  public void testNormal() throws Exception {
    MessageProducer producer = Cat.getProducer();
View Full Code Here


  public void before() throws Exception {
    TransportManager manager = Cat.lookup(TransportManager.class);
    Initializable queue = Reflects.forField().getDeclaredFieldValue(manager.getSender().getClass(), "m_queue",
          manager.getSender());

    queue.initialize();
    m_queue = Reflects.forField().getDeclaredFieldValue(queue.getClass(), "m_queue", queue);
  }

  @Test
  public void testNormal() throws Exception {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.