|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.ws.client.support.destination.AbstractCachingDestinationProvider
public abstract class AbstractCachingDestinationProvider
Abstract base class for DestinationProvider implementations that cache destination URI.
cache property to false; forcing a
destination lookup for every call.
| Field Summary | |
|---|---|
protected Log |
logger
Logger available to subclasses. |
| Constructor Summary | |
|---|---|
AbstractCachingDestinationProvider()
|
|
| Method Summary | |
|---|---|
URI |
getDestination()
Return the destination URI. |
protected abstract URI |
lookupDestination()
Abstract template method that looks up the URI. |
void |
setCache(boolean cache)
Set whether to cache resolved destinations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Log logger
| Constructor Detail |
|---|
public AbstractCachingDestinationProvider()
| Method Detail |
|---|
public void setCache(boolean cache)
true. This flag can be turned off to
re-lookup a destination for each operation, which allows for hot restarting of destinations. This is mainly
useful during development.
public final URI getDestination()
DestinationProvider
getDestination in interface DestinationProviderprotected abstract URI lookupDestination()
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||