|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.intersvrcom.StandardInterSvrComService
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
Nested Class Summary | |
(package private) class |
StandardInterSvrComService.InterSvrComServiceEventListener
|
static class |
StandardInterSvrComService.SiteInfoCache
|
static class |
StandardInterSvrComService.SiteSecurityListener
|
Field Summary | |
private static String |
CLASSNAME
|
private Object |
lock
|
static String |
MASTER_SERVER_URL
|
static String |
MASTER_SITE_NAME
|
static String |
MASTER_URL
|
private static String |
RESOURCE
|
private boolean |
servDone
|
(package private) static String |
SIGNATURE_ALGORITHM
|
private static StandardInterSvrComService.SiteInfoCache |
siteInfoCache
|
static boolean |
ULTRA_LIGHT
|
private static boolean |
VERBOSE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardInterSvrComService()
|
Method Summary | |
private void |
checkForDuplicateSiteOrURL(Site newSite,
String evt)
|
private void |
checkForMasterDelete(Site s)
|
static boolean |
compressContentFor(String url)
|
private Site |
erazeSecurityInfo(Site site)
|
byte[] |
exportKey(Site site)
Retrieves site's public security key. |
Site |
generateKeyPair(Site site)
Generates security keys for the site. |
Enumeration |
getAllSites()
Retrieves all the sites in the system. |
String |
getConceptualClassname()
Deprecated. |
Timestamp |
getLastUpdated(Site site)
Supported API: false |
Site |
getLocalSite()
Retrieves master site. |
Repository |
getRepository(Site site)
Supported API: false |
Site |
getSite(String url)
Retrieves the site object with the supplied URL. |
Site |
getSiteByGuid(String guid)
Supported API: false |
Site |
getSiteByUfid(Ufid ufid)
Supported API: false |
static StandardInterSvrComService.SiteInfoCache |
getSiteInfoCache()
|
SiteSecurity |
getSiteSecurity(ObjectReference oRef)
Supported API: false |
private void |
handleDuplicateMasters()
|
Site |
importKey(Site site,
byte[] is_bytes)
Imports another site's public key to this site. |
protected void |
initialize()
Supported API: false |
private void |
initializeSiteInfo()
|
private void |
initSiteSchema()
|
static StandardInterSvrComService |
newStandardInterSvrComService()
Default factory for the class. |
protected void |
performStartupProcess()
Supported API: false |
void |
registerUfidRepository(Site site,
Repository repository)
Supported API: false |
private boolean |
testEquivalentUrlIgnoringHostNameCase(String url1,
String url2)
Return true if the 2 URLs (url1, url2) are equivalent. |
void |
unregisterUfidRepository(Site site)
Supported API: false |
void |
updateSiteSecurity(SiteSecurity ss)
Supported API: false |
private SiteSecurity |
validateCreateSecurity(SiteSecurity siteSecurity)
|
static void |
validateSecurity(Site site,
SiteSecurity siteSecurity)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final boolean VERBOSE
public static final boolean ULTRA_LIGHT
public static final String MASTER_URL
public static String MASTER_SERVER_URL
public static String MASTER_SITE_NAME
private static StandardInterSvrComService.SiteInfoCache siteInfoCache
static final String SIGNATURE_ALGORITHM
private Object lock
private boolean servDone
Constructor Detail |
public StandardInterSvrComService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
protected void initialize() throws WTException
initialize
in class StandardManager
WTException
public static StandardInterSvrComService newStandardInterSvrComService() throws WTException
WTException
public Site generateKeyPair(Site site) throws WTException
generateKeyPair
in interface InterSvrComService
site
-
WTException
public byte[] exportKey(Site site) throws WTException
exportKey
in interface InterSvrComService
site
-
WTException
public Site importKey(Site site, byte[] is_bytes) throws WTException
importKey
in interface InterSvrComService
site
- is_bytes
-
WTException
public Timestamp getLastUpdated(Site site) throws WTException
getLastUpdated
in interface InterSvrComService
site
-
WTException
public Site getLocalSite() throws WTException
getLocalSite
in interface InterSvrComService
WTException
public Enumeration getAllSites() throws WTException
getAllSites
in interface InterSvrComService
WTException
public Site getSite(String url) throws WTException
getSite
in interface InterSvrComService
url
-
WTException
public Site getSiteByGuid(String guid) throws WTException
getSiteByGuid
in interface InterSvrComService
guid
-
WTException
public Site getSiteByUfid(Ufid ufid) throws WTException
getSiteByUfid
in interface InterSvrComService
ufid
-
WTException
public void registerUfidRepository(Site site, Repository repository) throws WTException
registerUfidRepository
in interface InterSvrComService
site
- repository
-
WTException
public void unregisterUfidRepository(Site site) throws WTException
unregisterUfidRepository
in interface InterSvrComService
site
-
WTException
public Repository getRepository(Site site) throws WTException
getRepository
in interface InterSvrComService
site
-
WTException
public SiteSecurity getSiteSecurity(ObjectReference oRef) throws WTException
getSiteSecurity
in interface InterSvrComService
oRef
-
WTException
public void updateSiteSecurity(SiteSecurity ss) throws WTException
updateSiteSecurity
in interface InterSvrComService
ss
-
WTException
private SiteSecurity validateCreateSecurity(SiteSecurity siteSecurity) throws WTException
WTException
public static void validateSecurity(Site site, SiteSecurity siteSecurity) throws WTException
WTException
private Site erazeSecurityInfo(Site site) throws WTException
WTException
private void checkForDuplicateSiteOrURL(Site newSite, String evt) throws WTException
WTException
private void checkForMasterDelete(Site s) throws WTException
WTException
private void initSiteSchema() throws ManagerException
ManagerException
private void handleDuplicateMasters() throws ManagerException
ManagerException
private boolean testEquivalentUrlIgnoringHostNameCase(String url1, String url2)
public static StandardInterSvrComService.SiteInfoCache getSiteInfoCache()
private void initializeSiteInfo() throws WTException
WTException
public static boolean compressContentFor(String url) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |