ing
This commit is contained in:
parent
952957d044
commit
d7158caecb
|
@ -0,0 +1,11 @@
|
|||
package com.loafle.overflow.module.core.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface WebappAPI {
|
||||
}
|
|
@ -3,6 +3,7 @@ package com.loafle.overflow.module.discovery.service;
|
|||
import java.util.Date;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.ProbeAPI;
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.discovery.model.DiscoverHost;
|
||||
import com.loafle.overflow.module.discovery.model.DiscoverPort;
|
||||
import com.loafle.overflow.module.discovery.model.DiscoverService;
|
||||
|
@ -16,9 +17,13 @@ import com.loafle.overflow.module.discovery.model.Zone;
|
|||
* Created by snoop on 17. 9. 28.
|
||||
*/
|
||||
public interface DiscoveryService {
|
||||
@WebappAPI
|
||||
void discoverZone(String probeID, DiscoverZone discoverZone);
|
||||
@WebappAPI
|
||||
void discoverHost(String probeID, Zone zone, DiscoverHost discoverHost);
|
||||
@WebappAPI
|
||||
void discoverPort(String probeID, Host host, DiscoverPort discoverPort);
|
||||
@WebappAPI
|
||||
void discoverService(String probeID, Port port, DiscoverService discoverService);
|
||||
|
||||
@ProbeAPI
|
||||
|
|
Loading…
Reference in New Issue
Block a user