Cumulus4j API
(1.1.1)

org.cumulus4j.keymanager.front.shared
Class AppServer

java.lang.Object
  extended by org.cumulus4j.keymanager.front.shared.AppServer
All Implemented Interfaces:
Serializable

public class AppServer
extends Object
implements Serializable

DTO representing an app-server.

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

An AppServer contains the coordinates needed 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.

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

Constructor Summary
AppServer()
           
 
Method Summary
 String getAppServerBaseURL()
          Get the base-url of the app-server-key-manager-channel.
 String getAppServerID()
           Get the app-server's ID.
 void setAppServerBaseURL(String appServerBaseURL)
          Set the base-url of the app-server-key-manager-channel.
 void setAppServerID(String appServerID)
          Set the app-server's ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppServer

public AppServer()
Method Detail

getAppServerID

public String getAppServerID()

Get the app-server's ID.

If this instance of AppServer is used to PUT an app-server into the key-server, then this property can be null in order to have the key-server assign the ID. The app-server's ID is sent back to the client in a PutAppServerResponse.

Returns:
the app-server's ID.
See Also:
setAppServerID(String)

setAppServerID

public void setAppServerID(String appServerID)
Set the app-server's ID.

Parameters:
appServerID - the app-server's ID.
See Also:
getAppServerID()

getAppServerBaseURL

public String getAppServerBaseURL()
Get the base-url of the app-server-key-manager-channel. This is the part of the URL before the "/KeyManagerChannel" - e.g. if the REST URL of the KeyManagerChannel-service is "https://serverUsingCumulus4j.mydomain.org/org.cumulus4j.keymanager.back.webapp/KeyManagerChannel", then this must be "https://serverUsingCumulus4j.mydomain.org/org.cumulus4j.keymanager.back.webapp".

Returns:
the base-url of the app-server-key-manager-channel.
See Also:
setAppServerBaseURL(String)

setAppServerBaseURL

public void setAppServerBaseURL(String appServerBaseURL)
Set the base-url of the app-server-key-manager-channel.

Parameters:
appServerBaseURL - the base-url of the app-server-key-manager-channel.
See Also:
getAppServerBaseURL()

Cumulus4j API
(1.1.1)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.