Package org.jboss.jca.core.spi.mdr

Examples of org.jboss.jca.core.spi.mdr.MetadataRepository


    @Test
    public void testMetadataConfiguration() throws Throwable {
        ServiceController<?> controller = serviceContainer.getService(ConnectorServices.IRONJACAMAR_MDR);
        assertNotNull(controller);
        MetadataRepository repository = (MetadataRepository) controller.getValue();
        assertNotNull(repository);
        Set<String> ids = repository.getResourceAdapters();

        assertNotNull(ids);
        assertEquals(1, ids.size());

        String piId = ids.iterator().next();
        assertNotNull(piId);
        assertNotNull(repository.getResourceAdapter(piId));
    }
View Full Code Here


    @Test
    public void testMetadataConfiguration() throws Throwable {
        ServiceController<?> controller = serviceContainer.getService(ConnectorServices.IRONJACAMAR_MDR);
        assertNotNull(controller);
        MetadataRepository repository = (MetadataRepository) controller.getValue();
        assertNotNull(repository);
        Set<String> ids = repository.getResourceAdapters();

        assertNotNull(ids);
        //assertEquals(1, ids.size());

        String piId = ids.iterator().next();
        assertNotNull(piId);
        assertNotNull(repository.getResourceAdapter(piId));
    }
View Full Code Here

    @Test
    public void testMetadataConfiguration() throws Throwable {
        ServiceController<?> controller = serviceContainer.getService(ConnectorServices.IRONJACAMAR_MDR);
        assertNotNull(controller);
        MetadataRepository repository = (MetadataRepository) controller.getValue();
        assertNotNull(repository);
        Set<String> ids = repository.getResourceAdapters();

        assertNotNull(ids);

        String piId = ids.iterator().next();
        assertNotNull(piId);
        assertNotNull(repository.getResourceAdapter(piId));
    }
View Full Code Here

    @Test
    public void testMetadataConfiguration() throws Throwable {
        ServiceController<?> controller = serviceContainer.getService(ConnectorServices.IRONJACAMAR_MDR);
        assertNotNull(controller);
        MetadataRepository repository = (MetadataRepository) controller.getValue();
        assertNotNull(repository);
        Set<String> ids = repository.getResourceAdapters();

        assertNotNull(ids);

        for (String piId : ids) {
            assertNotNull(piId);
            System.out.println("PID:" + piId);
            assertNotNull(repository.getResourceAdapter(piId));
        }
    }
View Full Code Here

    @Test
    public void testMetadataConfiguration() throws Throwable {
        ServiceController<?> controller = serviceContainer.getService(ConnectorServices.IRONJACAMAR_MDR);
        assertNotNull(controller);
        MetadataRepository repository = (MetadataRepository) controller.getValue();
        assertNotNull(repository);
        Set<String> ids = repository.getResourceAdapters();

        assertNotNull(ids);

        String piId = ids.iterator().next();
        assertNotNull(piId);
        assertNotNull(repository.getResourceAdapter(piId));
    }
View Full Code Here

  @Test
  public void testMetaData() throws Throwable {
    ServiceController<?> controller = serviceContainer
        .getService(ConnectorServices.IRONJACAMAR_MDR);
    assertNotNull(controller);
    MetadataRepository mdr = (MetadataRepository) controller.getValue();
    assertNotNull(mdr);
    Set<String> ids = mdr.getResourceAdapters();

    assertNotNull(ids);
    assertTrue(ids.size() > 0);
    String piId = getElementContaining(ids, "ra16anno");
    assertNotNull(mdr.getResourceAdapter(piId));
    assertTrue(mdr.getResourceAdapter(piId) instanceof ConnectorImpl);
  }
View Full Code Here

  @Test
  public void testMetaData() throws Throwable {
    ServiceController<?> controller = serviceContainer
        .getService(ConnectorServices.IRONJACAMAR_MDR);
    assertNotNull(controller);
    MetadataRepository mdr = (MetadataRepository) controller.getValue();
    assertNotNull(mdr);
    Set<String> ids = mdr.getResourceAdapters();

    assertNotNull(ids);
    assertTrue(ids.size() > 0);
    String piId = getElementContaining(ids, "ra16anno");
    assertNotNull(mdr.getResourceAdapter(piId));
    assertTrue(mdr.getResourceAdapter(piId) instanceof ConnectorImpl);
  }
View Full Code Here

    @Test
    public void testMetadataConfiguration() throws Throwable {
        ServiceController<?> controller = serviceContainer.getService(ConnectorServices.IRONJACAMAR_MDR);
        assertNotNull(controller);
        MetadataRepository repository = (MetadataRepository) controller.getValue();
        assertNotNull(repository);
        Set<String> ids = repository.getResourceAdapters();

        assertNotNull(ids);
        //assertEquals(1, ids.size());

        String piId = ids.iterator().next();
        assertNotNull(piId);
        assertNotNull(repository.getResourceAdapter(piId));
    }
View Full Code Here

  @Test
  public void testMetadataConfiguration() throws Throwable {
    ServiceController<?> controller = serviceContainer
        .getService(ConnectorServices.IRONJACAMAR_MDR);
    assertNotNull(controller);
    MetadataRepository repository = (MetadataRepository) controller
        .getValue();
    assertNotNull(repository);
    Set<String> ids = repository.getResourceAdapters();

    assertNotNull(ids);
    System.out.println("////MD" + ids.toString());
    String piId = getElementContaining(ids, "inflow2");
    assertNotNull(piId);
    assertNotNull(repository.getResourceAdapter(piId));
  }
View Full Code Here

  @Test
  public void testMetadataConfiguration() throws Throwable {
    ServiceController<?> controller = serviceContainer
        .getService(ConnectorServices.IRONJACAMAR_MDR);
    assertNotNull(controller);
    MetadataRepository repository = (MetadataRepository) controller
        .getValue();
    assertNotNull(repository);
    Set<String> ids = repository.getResourceAdapters();

    assertNotNull(ids);
    System.out.println("////MD" + ids.toString());
    String piId = getElementContaining(ids, "inflow2");
    assertNotNull(piId);
    assertNotNull(repository.getResourceAdapter(piId));
  }
View Full Code Here

TOP

Related Classes of org.jboss.jca.core.spi.mdr.MetadataRepository

Copyright © 2018 www.massapicom. 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.