public class EndpointDefinitionRegistryEvent extends Object implements info.magnolia.event.Event<EndpointDefinitionRegistryEventHandler>
EndpointDefinitionRegistry
when endpoint definitions are added, removed or changed.Constructor and Description |
---|
EndpointDefinitionRegistryEvent(EndpointDefinitionRegistryEventType type,
info.magnolia.config.registry.DefinitionProvider<EndpointDefinition> endpointDefinitionProvider) |
EndpointDefinitionRegistryEvent(EndpointDefinitionRegistryEventType type,
EndpointDefinition endpointDefinition)
Deprecated.
|
EndpointDefinitionRegistryEvent(EndpointDefinitionRegistryEventType type,
String endpointName) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(EndpointDefinitionRegistryEventHandler handler) |
EndpointDefinition |
getEndpointDefinition()
Deprecated.
since 2.0, use
getEndpointDefinitionProvider() |
info.magnolia.config.registry.DefinitionProvider<EndpointDefinition> |
getEndpointDefinitionProvider() |
String |
getEndpointName() |
EndpointDefinitionRegistryEventType |
getType() |
public EndpointDefinitionRegistryEvent(EndpointDefinitionRegistryEventType type, info.magnolia.config.registry.DefinitionProvider<EndpointDefinition> endpointDefinitionProvider)
public EndpointDefinitionRegistryEvent(EndpointDefinitionRegistryEventType type, String endpointName)
@Deprecated public EndpointDefinitionRegistryEvent(EndpointDefinitionRegistryEventType type, EndpointDefinition endpointDefinition)
EndpointDefinitionRegistryEvent(EndpointDefinitionRegistryEventType, DefinitionProvider)
public EndpointDefinitionRegistryEventType getType()
public String getEndpointName()
public info.magnolia.config.registry.DefinitionProvider<EndpointDefinition> getEndpointDefinitionProvider()
@Deprecated public EndpointDefinition getEndpointDefinition()
getEndpointDefinitionProvider()
public void dispatch(EndpointDefinitionRegistryEventHandler handler)
dispatch
in interface info.magnolia.event.Event<EndpointDefinitionRegistryEventHandler>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.