public abstract class DestinationDeclarator extends Object implements javax.servlet.ServletContextListener
ServletContextListener
for declaring Destination
s via
DestinationAccessor.declareDestinations(Collection)
.Constructor and Description |
---|
DestinationDeclarator(Collection<String> destinationNames)
Creates a DestinationDeclarator by string the given destination names which should be declared later.
|
DestinationDeclarator(String destinationName,
String... destinationNames)
Creates a DestinationDeclarator by storing the given destination names which should be declared later.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) |
boolean |
equals(Object o) |
Set<String> |
getDestinationNames() |
int |
hashCode() |
String |
toString() |
public DestinationDeclarator(@Nonnull String destinationName, @Nonnull String... destinationNames)
destinationName
- The mandatory name of a single destination.destinationNames
- The optional list of further names of destinations to be declared.public DestinationDeclarator(@Nonnull Collection<String> destinationNames)
destinationNames
- The list if destination name to be declared.public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed
in interface javax.servlet.ServletContextListener
protected boolean canEqual(Object other)
Copyright © 2019 SAP SE. All rights reserved.