de.fhg.igd.semoa.webservice
Class Webservice.Scope

java.lang.Object
  extended byde.fhg.igd.semoa.webservice.Webservice.Scope
Enclosing class:
Webservice

public static class Webservice.Scope
extends Object

This class represents the scope of a webservice object.


Field Summary
static Webservice.Scope APPLICATION
          The "Application" Scope
static Webservice.Scope DEFAULT
          The default Scope
private static Set known_
          A container for known Scopes.
private static Logger log_
          The Logger instance for this class
protected  String name_
          The scope name
static Webservice.Scope REQUEST
          The "request" Scope
static Webservice.Scope SESSION
          The "session" Scope
 
Constructor Summary
private Webservice.Scope(String name)
          Hidden construction.
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 int hashCode()
           
static Webservice.Scope toScope(String name)
          Get the Scope corresponding to the given name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log_

private static Logger log_
The Logger instance for this class


known_

private static Set known_
A container for known Scopes.


REQUEST

public static final Webservice.Scope REQUEST
The "request" Scope


SESSION

public static final Webservice.Scope SESSION
The "session" Scope


APPLICATION

public static final Webservice.Scope APPLICATION
The "Application" Scope


DEFAULT

public static final Webservice.Scope DEFAULT
The default Scope


name_

protected String name_
The scope name

Constructor Detail

Webservice.Scope

private Webservice.Scope(String name)
Hidden construction.

Method Detail

toScope

public static Webservice.Scope toScope(String name)
                                throws IllegalArgumentException
Get the Scope corresponding to the given name.

Parameters:
name - The scope name
Returns:
The corresponding Scope
Throws:
IllegalArgumentException - if no matching Scope could be found

getName

public String getName()

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.