30313233343536373839
} public static synchronized SubscriptionManager getInstance() { if (instance == null) { instance = new SubscriptionManagerImpl( "http://localhost:8080/ws_eventing/services/SubscriptionManager"); } return instance; }
303132333435363738
// utility class should not have a public constructor } public static synchronized SubscriptionManager getInstance() { if (instance == null) { instance = new SubscriptionManagerImpl(SimpleEventingIntegrationTest.URL_SUBSCRIPTION_MANAGER); } return instance; }