Cumulus4j API
(1.2.0-SNAPSHOT)

org.cumulus4j.keymanager
Class AppServer

java.lang.Object
  extended by org.cumulus4j.keymanager.AppServer

public class AppServer
extends Object

An AppServer represents a logical application server. This logical application server might be a cluster/cloud consisting of many physical machines.

An AppServer knows how to contact the application server (or more precisely the key-manager-channel-REST-service running on this application server) in order to establish a communication channel. See Deployment scenarios.

Since Sessions are managed per AppServer (in case one single key-store is used for multiple application servers), this serves as a scope for sessions (thus every AppServer has one instance of SessionManager).

This is not API! Use the classes and interfaces provided by org.cumulus4j.keymanager.api instead.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de

Constructor Summary
AppServer(AppServerManager appServerManager, String appServerID, String appServerBaseURL)
           
 
Method Summary
 String getAppServerBaseURL()
           
 String getAppServerID()
           
 AppServerManager getAppServerManager()
           
 KeyManagerChannelManager getKeyManagerChannelManager()
           
 SessionManager getSessionManager()
           
 void setAppServerID(String appServerID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppServer

public AppServer(AppServerManager appServerManager,
                 String appServerID,
                 String appServerBaseURL)
Method Detail

getAppServerID

public String getAppServerID()

setAppServerID

public void setAppServerID(String appServerID)

getAppServerBaseURL

public String getAppServerBaseURL()

getAppServerManager

public AppServerManager getAppServerManager()

getSessionManager

public SessionManager getSessionManager()

getKeyManagerChannelManager

public KeyManagerChannelManager getKeyManagerChannelManager()

Cumulus4j API
(1.2.0-SNAPSHOT)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.