|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.replication.receiver.StandardReplicationRecvService
Use the newStandardReplicationRecvService
static factory
method(s), not the StandardReplicationRecvService
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: false
Extendable: false
Nested Class Summary | |
private static class |
StandardReplicationRecvService.BooledAppData
Deprecated. |
private class |
StandardReplicationRecvService.WTUnitReceiverEventListener
Deprecated. |
Field Summary | |
private static boolean |
AUTO_PULL
Deprecated. |
private static String |
CLASSNAME
Deprecated. |
private static boolean |
createNewNumber
Deprecated. |
private static String |
embLogDir
Deprecated. |
private static boolean |
PERFORMANCE
Deprecated. |
private static boolean |
REPL_READ_ONLY
Deprecated. |
private static String |
RESOURCE
Deprecated. |
private static boolean |
SCHEDULE_ITEM_ENABLED
Deprecated. |
private static boolean |
SHOW_LOCAL_SITE
Deprecated. |
private static String |
SUBSCRIBER_ROLE
Deprecated. |
private static boolean |
TEAMTEMPLATE_FILTER_ENABLED
Deprecated. |
private static Hashtable |
teamTemplatePathCache
Deprecated. |
private static wt.replication.test.TestTime |
tt
Deprecated. |
private static String |
UNIT_RECEIVE_LIFECYCLE_STATE
Deprecated. |
private static String |
UNIT_RECEIVE_LIFECYCLE_TEMPLATE
Deprecated. |
private static boolean |
VERBOSE
Deprecated. |
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 | |
StandardReplicationRecvService()
Deprecated. |
Method Summary | |
private static boolean |
checkPrincipalMatch(WTPrincipal candidate,
WTPrincipal target)
Deprecated. |
private static Ufid |
constructUfidFromString(String sUfid)
Deprecated. |
protected void |
dispatchVetoableEvent(String eventType,
WTUnit unit)
Deprecated. |
static void |
embHandleReceivedIS(ObjectReference unitRef,
String fileName,
String description,
String uploadedFromPath,
Ufid ufid,
InputStream contentIS)
Deprecated. |
private static void |
embLogDirInitialize(WTProperties props)
Deprecated. |
void |
embUploadUnit(String embFolder,
String fullTeamTemplateName)
Deprecated. |
private static void |
embWriteLogHeader(EMBReceiverLog embLog,
WTUnit wtUnit,
Site cameFrom,
String embFolder)
Deprecated. |
static UnitReceiveRecord |
enableScheduleItem(WTUnit unit)
Deprecated. This method is called by the workflow processes to allow the currently active receive operation for the replication unit to proceed. |
private static Enumeration |
findEmbEntryInfo(WTUnit wtUnit,
String embFolder,
EMBReceiverLog embLog)
Deprecated. |
private static Enumeration |
findManifestInfo(WTUnit wtUnit)
Deprecated. |
private static WTPrincipal |
findPrincipal(String remoteUrl)
Deprecated. |
private static Vector |
findQualifiedTeamTemplates(WTPrincipal principal,
boolean toFilter)
Deprecated. |
private static Vector |
findQualifiedTeamTemplatesByCreatorRole(WTPrincipal principal,
boolean toFilter)
Deprecated. |
private static Vector |
findQualifiedTeamTemplatesByRole(WTPrincipal principal,
boolean toFilter,
String roleStr)
Deprecated. Finds Team Templates which qualifies according to the expected role. |
private static String |
findUnitFolder(String fullTeamTemplateName)
Deprecated. |
private static StandardReplicationRecvService.BooledAppData |
getAppDataBy(WTUnit wtUnit,
StreamIdentity sid)
Deprecated. |
String |
getConceptualClassname()
Deprecated. |
private static WTReplicationException |
handleDownloadException(WTUnit wtUnit,
Throwable e,
String key,
Object[] errorInfo)
Deprecated. |
static void |
handleReceivedIS(ObjectReference unitRef,
String fileName,
String description,
String uploadedFromPath,
Ufid ufid,
InputStream contentIS)
Deprecated. |
static StandardReplicationRecvService |
newStandardReplicationRecvService()
Deprecated. |
protected void |
performStartupProcess()
Deprecated. |
void |
registerEvents(ManagerService manager)
Deprecated. |
static ShippingItem |
responseTeamTemplateRequest(String rmtUrl)
Deprecated. |
private static ActionShippingItem |
returnHttpReceipt(ObjectReference sendRecRef,
String localUrl,
Throwable e)
Deprecated. |
private static ShippingItem |
returnReceipt(ObjectReference ref,
String localUrl,
Throwable thr,
boolean isEMBPipe)
Deprecated. |
private static ShippingItem |
returnTeamTemplates(Vector teamTemplateList,
Throwable e)
Deprecated. |
static void |
scheduleReceiveOperation(WTUnit wtUnit,
Timestamp startTime,
String description,
String transType,
String embFolder,
Locale locale)
Deprecated. |
private static void |
scheduleUpload(WTUnit wtUnit,
Site cameFrom,
Timestamp ts,
String embFolder,
String transType)
Deprecated. |
static void |
sendTeamTemplateDueSiteTeamTemplateChange(ObjectReference siteRef)
Deprecated. |
private static void |
testReceivedAppData(ApplicationData appData,
String outputFileName)
Deprecated. |
static void |
uploadContent(UnitReceiveRecord urr,
String transType,
String embFolder,
Locale locale)
Deprecated. |
static ShippingItem |
uploadUnit(String rmtNum,
String rmtName,
String fullTeamTemplateName,
Boolean isOnSchedule,
Timestamp timeStamp,
String rmtURL,
ObjectReference sendRecRef,
InputStream is)
Deprecated. |
private static ShippingItem |
uploadUnitImpl(String unitNumber,
String unitName,
String fullTeamTemplateName,
Boolean isOnSchedule,
Timestamp timeStamp,
String rmtURL,
ObjectReference sendRecRef,
String description,
String embFolder,
String transType,
InputStream is)
Deprecated. |
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 boolean VERBOSE
private static boolean createNewNumber
private static String embLogDir
private static boolean SCHEDULE_ITEM_ENABLED
private static Hashtable teamTemplatePathCache
private static boolean SHOW_LOCAL_SITE
private static boolean PERFORMANCE
private static wt.replication.test.TestTime tt
private static boolean AUTO_PULL
private static boolean REPL_READ_ONLY
private static boolean TEAMTEMPLATE_FILTER_ENABLED
private static String UNIT_RECEIVE_LIFECYCLE_TEMPLATE
private static String UNIT_RECEIVE_LIFECYCLE_STATE
private static final String SUBSCRIBER_ROLE
Constructor Detail |
public StandardReplicationRecvService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardReplicationRecvService newStandardReplicationRecvService() throws WTException
WTException
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static ShippingItem uploadUnit(String rmtNum, String rmtName, String fullTeamTemplateName, Boolean isOnSchedule, Timestamp timeStamp, String rmtURL, ObjectReference sendRecRef, InputStream is) throws WTReplicationException
rmtNum
- rmtName
- fullTeamTemplateName
- isOnSchedule
- timeStamp
- rmtURL
- sendRecRef
- is
-
WTReplicationException
public static void uploadContent(UnitReceiveRecord urr, String transType, String embFolder, Locale locale) throws WTReplicationException, WTException, WTPropertyVetoException
urr
- transType
- embFolder
- locale
-
WTReplicationException
WTException
WTPropertyVetoException
public static void handleReceivedIS(ObjectReference unitRef, String fileName, String description, String uploadedFromPath, Ufid ufid, InputStream contentIS) throws WTReplicationException
unitRef
- fileName
- description
- uploadedFromPath
- ufid
- contentIS
-
WTReplicationException
public static void embHandleReceivedIS(ObjectReference unitRef, String fileName, String description, String uploadedFromPath, Ufid ufid, InputStream contentIS) throws WTReplicationException
unitRef
- fileName
- description
- uploadedFromPath
- ufid
- contentIS
-
WTReplicationException
public static ShippingItem responseTeamTemplateRequest(String rmtUrl)
rmtUrl
-
protected void dispatchVetoableEvent(String eventType, WTUnit unit) throws WTException
eventType
- unit
-
WTException
public void registerEvents(ManagerService manager)
registerEvents
in interface Manager
registerEvents
in class StandardManager
manager
- public void embUploadUnit(String embFolder, String fullTeamTemplateName) throws WTReplicationException, WTException
embUploadUnit
in interface ReplicationRecvService
embFolder
- fullTeamTemplateName
-
WTReplicationException
WTException
private static ActionShippingItem returnHttpReceipt(ObjectReference sendRecRef, String localUrl, Throwable e)
public static void scheduleReceiveOperation(WTUnit wtUnit, Timestamp startTime, String description, String transType, String embFolder, Locale locale) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static void scheduleUpload(WTUnit wtUnit, Site cameFrom, Timestamp ts, String embFolder, String transType) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static UnitReceiveRecord enableScheduleItem(WTUnit unit)
unit
- The replication unit whose receive operation is to be enabled.
private static Enumeration findManifestInfo(WTUnit wtUnit)
private static WTReplicationException handleDownloadException(WTUnit wtUnit, Throwable e, String key, Object[] errorInfo)
private static void testReceivedAppData(ApplicationData appData, String outputFileName)
public static void sendTeamTemplateDueSiteTeamTemplateChange(ObjectReference siteRef)
private static StandardReplicationRecvService.BooledAppData getAppDataBy(WTUnit wtUnit, StreamIdentity sid)
private static ShippingItem returnTeamTemplates(Vector teamTemplateList, Throwable e)
private static ShippingItem uploadUnitImpl(String unitNumber, String unitName, String fullTeamTemplateName, Boolean isOnSchedule, Timestamp timeStamp, String rmtURL, ObjectReference sendRecRef, String description, String embFolder, String transType, InputStream is) throws WTReplicationException
WTReplicationException
private static ShippingItem returnReceipt(ObjectReference ref, String localUrl, Throwable thr, boolean isEMBPipe) throws WTReplicationException
WTReplicationException
private static Enumeration findEmbEntryInfo(WTUnit wtUnit, String embFolder, EMBReceiverLog embLog) throws WTReplicationException
WTReplicationException
private static void embLogDirInitialize(WTProperties props)
private static void embWriteLogHeader(EMBReceiverLog embLog, WTUnit wtUnit, Site cameFrom, String embFolder)
private static WTPrincipal findPrincipal(String remoteUrl)
private static boolean checkPrincipalMatch(WTPrincipal candidate, WTPrincipal target)
private static Vector findQualifiedTeamTemplates(WTPrincipal principal, boolean toFilter) throws WTException
WTException
private static Vector findQualifiedTeamTemplatesByRole(WTPrincipal principal, boolean toFilter, String roleStr) throws WTException
principal
- toFilter
- if true, it "filters" Team Templates according to role, if false, gets all enabled Team TemplatesroleStr
- role of desired Team Template. It must be provided in the full class form, ex: "wt.project.Role.SUBSCRIBER"
WTException
private static Vector findQualifiedTeamTemplatesByCreatorRole(WTPrincipal principal, boolean toFilter) throws WTException
WTException
private static String findUnitFolder(String fullTeamTemplateName)
private static Ufid constructUfidFromString(String sUfid)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |