@Test public void testGetInstanceType() { assertEquals(INSTANCE_TYPE.RENDERER.toString(), provider.getProperty(PublicationPropertyProvider.INSTANCE_TYPE)); }
@Override public String getProperty(String name) { log.trace("getProperty({})", name); if (ENDPOINT_PATHS.equals(name)) { return config.endpointPath(); } else if (INSTANCE_TYPE.equals(name)) { return publicationManagerFactory.getInstanceType().toString(); } return null; }
PublicationPropertyProvider implements PropertyProvider { @Override public String getProperty(String name) { log.trace("getProperty({})", name); if (ENDPOINT_PATHS.equals(name)) { return config.endpointPath(); } else if (INSTANCE_TYPE.equals(name)) { return publicationManagerFactory.getInstanceType().toString(); } return null; } }
PublicationPropertyProvider implements PropertyProvider { @Override public String getProperty(String name) { log.trace("getProperty({})", name); if (ENDPOINT_PATHS.equals(name)) { return config.endpointPath(); } else if (INSTANCE_TYPE.equals(name)) { return publicationManagerFactory.getInstanceType().toString(); } return null; }  }
PublicationPropertyProvider implements PropertyProvider { @Override public String getProperty(String name) { log.trace("getProperty({})", name); if (ENDPOINT_PATHS.equals(name)) { return config.endpointPath(); } else if (INSTANCE_TYPE.equals(name)) { return publicationManagerFactory.getInstanceType().toString(); } return null; }  @Activate void activate(PublicationPropertyProviderConfig config); @Override String getProperty(String name); }
PublicationPropertyProvider implements PropertyProvider { @Override public String getProperty(String name) { log.trace("getProperty({})", name); if (ENDPOINT_PATHS.equals(name)) { return config.endpointPath(); } else if (INSTANCE_TYPE.equals(name)) { return publicationManagerFactory.getInstanceType().toString(); } return null; }  @Activate void activate(PublicationPropertyProviderConfig config); @Override String getProperty(String name); static final String ENDPOINT_PATHS; static final String INSTANCE_TYPE; }