wt.intersvrcom
Class StandardInterSvrComService

java.lang.Object
  extended by wt.services.StandardManager
      extended by wt.intersvrcom.StandardInterSvrComService
All Implemented Interfaces:
Serializable, NetFactor, InterSvrComService, wt.services.Manager

public class StandardInterSvrComService
extends StandardManager
implements InterSvrComService, Serializable

Use the newStandardInterSvrComService static factory method(s), not the StandardInterSvrComService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
Serialized Form

Nested Class Summary
static class wt.intersvrcom.StandardInterSvrComService.SiteInfoCache
           
static class wt.intersvrcom.StandardInterSvrComService.SiteSecurityListener
           
 
Method Summary
 byte[] exportKey(wt.intersvrcom.Site site)
          Retrieves site's public security key.
 wt.intersvrcom.Site generateKeyPair(wt.intersvrcom.Site site)
          Generates security keys for the site.
 Enumeration getAllSites()
          Retrieves all the sites in the system.
 Enumeration getAllSites(WTContainerRef containerRef)
          Retrieves all the sites in the system under a specified container reference.
 wt.intersvrcom.Site getLocalSite()
          Retrieves master site.
 wt.intersvrcom.Site getSite(String url)
          Retrieves the site object with the supplied URL.
 wt.intersvrcom.Site importKey(wt.intersvrcom.Site site, byte[] is_bytes)
          Imports another site's public key to this site.
 
Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAllSites

public Enumeration getAllSites(WTContainerRef containerRef)
                        throws WTException
Retrieves all the sites in the system under a specified container reference.

Supported API: true

Specified by:
getAllSites in interface InterSvrComService
Parameters:
containerRef -
Returns:
Enumeration
Throws:
WTException

generateKeyPair

public wt.intersvrcom.Site generateKeyPair(wt.intersvrcom.Site site)
                                    throws WTException
Generates security keys for the site.

Supported API: true

Specified by:
generateKeyPair in interface InterSvrComService
Parameters:
site -
Returns:
Site
Throws:
WTException

exportKey

public byte[] exportKey(wt.intersvrcom.Site site)
                 throws WTException
Retrieves site's public security key.

Supported API: true

Specified by:
exportKey in interface InterSvrComService
Parameters:
site -
Returns:
byte[]
Throws:
WTException

importKey

public wt.intersvrcom.Site importKey(wt.intersvrcom.Site site,
                                     byte[] is_bytes)
                              throws WTException
Imports another site's public key to this site.

Supported API: true

Specified by:
importKey in interface InterSvrComService
Parameters:
site -
is_bytes -
Returns:
Site
Throws:
WTException

getLocalSite

public wt.intersvrcom.Site getLocalSite()
                                 throws WTException
Retrieves master site.

Supported API: true

Specified by:
getLocalSite in interface InterSvrComService
Returns:
Site
Throws:
WTException

getAllSites

public Enumeration getAllSites()
                        throws WTException
Retrieves all the sites in the system.

Supported API: true

Specified by:
getAllSites in interface InterSvrComService
Returns:
Enumeration
Throws:
WTException

getSite

public wt.intersvrcom.Site getSite(String url)
                            throws WTException
Retrieves the site object with the supplied URL.

Supported API: true

Specified by:
getSite in interface InterSvrComService
Parameters:
url -
Returns:
Site
Throws:
WTException