@Test public void testStop() { start(); destination.stop(); boolean started = destination.isStarted(); Assert.assertFalse(started); }
@Override public void stop() { if (!isStarted()) return; getAdapter().stop(); super.stop(); if (isManaged() && getService().isManaged()) { if (getControl() != null) { getControl().unregister(); setControl(null); } setManaged(false); } }
Destination extends ManageableComponent implements java.io.Serializable { @Override public void stop() { if (!isStarted()) return; getAdapter().stop(); super.stop(); if (isManaged() && getService().isManaged()) { if (getControl() != null) { getControl().unregister(); setControl(null); } setManaged(false); } } }
Destination extends ManageableComponent implements java.io.Serializable { @Override public void stop() { if (!isStarted()) return; getAdapter().stop(); super.stop(); if (isManaged() && getService().isManaged()) { if (getControl() != null) { getControl().unregister(); setControl(null); } setManaged(false); } } Destination();  Destination(boolean enableManagement); }
Destination extends ManageableComponent implements java.io.Serializable { @Override public void stop() { if (!isStarted()) return; getAdapter().stop(); super.stop(); if (isManaged() && getService().isManaged()) { if (getControl() != null) { getControl().unregister(); setControl(null); } setManaged(false); } } Destination();  Destination(boolean enableManagement); @Override void initialize(String id, ConfigMap properties); boolean isInitialized(); @Override void start(); @Override void stop(); ServiceAdapter getAdapter(); ServiceAdapter createAdapter(String id); void setAdapter(ServiceAdapter adapter); boolean isBackendShared(); List<String> getChannels(); void addChannel(String id); boolean removeChannel(String id); void setChannels(List<String> ids); boolean isClustered(); @Override void setId(String id); NetworkSettings getNetworkSettings(); void setNetworkSettings(NetworkSettings networkSettings); Service getService(); void setService(Service service); String getServiceType(); SecurityConstraint getSecurityConstraint(); void setSecurityConstraint(SecurityConstraint securityConstraint); void setSecurityConstraint(String ref); ConfigMap describeDestination(); ConfigMap describeDestination(boolean onlyReliable); void addExtraProperty(String name, Object value); Object getExtraProperty(String name); }
Destination extends ManageableComponent implements java.io.Serializable { @Override public void stop() { if (!isStarted()) return; getAdapter().stop(); super.stop(); if (isManaged() && getService().isManaged()) { if (getControl() != null) { getControl().unregister(); setControl(null); } setManaged(false); } } Destination();  Destination(boolean enableManagement); @Override void initialize(String id, ConfigMap properties); boolean isInitialized(); @Override void start(); @Override void stop(); ServiceAdapter getAdapter(); ServiceAdapter createAdapter(String id); void setAdapter(ServiceAdapter adapter); boolean isBackendShared(); List<String> getChannels(); void addChannel(String id); boolean removeChannel(String id); void setChannels(List<String> ids); boolean isClustered(); @Override void setId(String id); NetworkSettings getNetworkSettings(); void setNetworkSettings(NetworkSettings networkSettings); Service getService(); void setService(Service service); String getServiceType(); SecurityConstraint getSecurityConstraint(); void setSecurityConstraint(SecurityConstraint securityConstraint); void setSecurityConstraint(String ref); ConfigMap describeDestination(); ConfigMap describeDestination(boolean onlyReliable); void addExtraProperty(String name, Object value); Object getExtraProperty(String name); static final String LOG_CATEGORY; static final String PUSH_DESTINATION_ID; }