| At line 1 added 1 line. |
| [this mailing list thread|http://nagoya.apache.org/eyebrowse/[email protected]&msgNo=451]. |
| At line 2 changed 1 line. |
| [Nigritude Ultramarine blog |
| [What is this SandBox?|WhatIsThisSandBox] |
| At line 4 changed 1 line. |
| 1|http://nigritude-ultramarine-france.blogspot.com/] |
| [{Java2HtmlPlugin |
| At line 6 changed 1 line. |
| [Nigritude Ultramarine blog |
| import javax.naming.Context; |
| import javax.naming.InitialContext; |
| At line 8 changed 1 line. |
| 2|http://nigritude-ultramarine-1.blogspot.com/] |
| import junit.framework.TestCase; |
| At line 10 changed 1 line. |
| [Nigritude Ultramarine |
| import org.mockejb.MockContainer; |
| import org.mockejb.SessionBeanDescriptor; |
| import org.mockejb.jndi.MockContextFactory; |
| import org.springframework.context.ApplicationContext; |
| import org.springframework.context.support.ClassPathXmlApplicationContext; |
| At line 12 changed 1 line. |
| links|http://www.nigritude-ultramarine-1.com/nigritude-ultr |
| /** |
| * Parent TestCase class for testing EJBs using MockEJB |
| * |
| * @author mraible |
| * |
| */ |
| public abstract class MockEJBTestCase extends TestCase { |
| At line 14 changed 1 line. |
| amarine-links/] |
| /** |
| * This method sets up a MockContainer and allows you to deploy an EJB to |
| * it. Override <code>onSetUp()</code> to add custom set-up behavior. |
| * |
| * @see #onSetUp() |
| */ |
| protected final void setUp() throws Exception { |
| MockContextFactory.setAsInitial(); |
| At line 16 changed 1 line. |
| [Nigritude Ultramarine |
| Context ctx = new InitialContext(); |
| ApplicationContext appCtx = |
| new ClassPathXmlApplicationContext(getConfigLocations()); |
| |
| ctx.bind("java:comp/env/jdbc/appDS", appCtx.getBean("dataSource")); |
| |
| MockContainer mc = new MockContainer(ctx); |
| SessionBeanDescriptor dd = getDeploymentDescriptor(); |
| mc.deploy(dd); |
| onSetUp(); |
| } |
| At line 18 changed 1 line. |
| coyote|http://coyote-club-paris.com/] |
| protected String[] getConfigLocations() { |
| return new String[] { "classpath:/applicationContext.xml" }; |
| } |
| At line 20 changed 1 line. |
| [Nigritude Ultramarine |
| protected void onSetUp() throws Exception {} |
| At line 22 changed 1 line. |
| berberber|http://www.berberber.com/en/] non |
| protected abstract SessionBeanDescriptor getDeploymentDescriptor(); |
| } |
| At line 24 changed 1 line. |
| [Nigritude Ultramarine textalyser |
| }] |
| At line 26 changed 1 line. |
| 1|http://textalyser.net/nigritude_ultramarine.html] |
| [CreateDAO_zh] |
| [CreateDAO_sp] |
| At line 28 changed 1 line. |
| [Nigritude Ultramarine textalyser 2|http://textalyser.net/] |
| [CreateManager_es] |
| At line 30 changed 1 line. |
| non |
| [QuickStart Guide_es] |
| At line 32 changed 1 line. |
| [Nigritude Ultramarine |
| [SpringControllerUnitTest] |
| At line 34 removed 1 line. |
| freshmeat|http://freshmeat.net/~nigritude/] non |
| At line 36 changed 24 lines. |
| [Nigritude Ultramarine future rose |
|
| |http://future-rose.com/nigritude_ultramarine/nigritude_ult |
|
| ramarine_1053.html] non |
|
| NigritudeUltramarine |
| [Nigritude Ultramarine |
|
| wiki|http://www.nigritude-ultramarine.cafewiki.org/] |
|
| [Nigritude Ultramarine |
|
| arur|http://arur.org/nigritude-ultramarine/] |
|
|
| [Nigritude Ultramarine |
|
| opera|http://my.opera.com/berberber/journal] |
|
|
| [Nigritude Ultramarine |
|
| mindsay|http://ultramarine1.mindsay.com/] |
| [δΈζζε|Articles_zh] |