@Test(expected = IllegalStateException.class) public void testGetObject_JtaNotInitialized() throws Exception { userTransactionFactoryBean.getObject().getStatus(); }
@Override public UserTransaction getObject() throws Exception { return (UserTransaction)Proxy.newProxyInstance(getClass().getClassLoader(), new Class<?>[] { getObjectType() }, new LazyInitializationHandler()); }
UserTransactionFactoryBean implements FactoryBean<UserTransaction> { @Override public UserTransaction getObject() throws Exception { return (UserTransaction)Proxy.newProxyInstance(getClass().getClassLoader(), new Class<?>[] { getObjectType() }, new LazyInitializationHandler()); } }
UserTransactionFactoryBean implements FactoryBean<UserTransaction> { @Override public UserTransaction getObject() throws Exception { return (UserTransaction)Proxy.newProxyInstance(getClass().getClassLoader(), new Class<?>[] { getObjectType() }, new LazyInitializationHandler()); }  }
UserTransactionFactoryBean implements FactoryBean<UserTransaction> { @Override public UserTransaction getObject() throws Exception { return (UserTransaction)Proxy.newProxyInstance(getClass().getClassLoader(), new Class<?>[] { getObjectType() }, new LazyInitializationHandler()); }  @Override UserTransaction getObject(); @Override Class<UserTransaction> getObjectType(); @Override boolean isSingleton(); }
UserTransactionFactoryBean implements FactoryBean<UserTransaction> { @Override public UserTransaction getObject() throws Exception { return (UserTransaction)Proxy.newProxyInstance(getClass().getClassLoader(), new Class<?>[] { getObjectType() }, new LazyInitializationHandler()); }  @Override UserTransaction getObject(); @Override Class<UserTransaction> getObjectType(); @Override boolean isSingleton();  }