org.mmbase.bridge
Class LocalResolver

java.lang.Object
  extended by org.mmbase.bridge.ContextProvider.Resolver
      extended by org.mmbase.bridge.LocalResolver

public class LocalResolver
extends ContextProvider.Resolver

The resolver recognizing only the string 'local', which then returns LocalContext.getCloudContext().

Since:
MMBase-2.0

Field Summary
 
Fields inherited from class org.mmbase.bridge.ContextProvider.Resolver
description
 
Constructor Summary
LocalResolver()
           
 
Method Summary
 boolean equals(Object o)
           
 CloudContext resolve(String uri)
          Resolve an 'uri' string to an actual CloudContext instance.
 String toString()
           
 
Methods inherited from class org.mmbase.bridge.ContextProvider.Resolver
getDescription
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalResolver

public LocalResolver()
Method Detail

resolve

public CloudContext resolve(String uri)
Description copied from class: ContextProvider.Resolver
Resolve an 'uri' string to an actual CloudContext instance.

Specified by:
resolve in class ContextProvider.Resolver
Returns:
A CloudContext or null if this specific Resolver doesn't understand the uri.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


MMBase 2.0-SNAPSHOT - null