com.sap.netweaver.coll.attachment

Class AttachmentCountManager

java.lang.Object
  extended by com.sapportals.wcm.repository.service.AbstractRepositoryService
      extended by com.sap.netweaver.coll.attachment.AttachmentCountManager
All Implemented Interfaces:
com.sap.netweaver.km.monitor.IMonitorInfoProvider, IAutoStartable, IComponent, IComponentInfo, IComponentListener, IConfigurable, ILifecycleInfo, IReconfigurable, IStartable, IThreadSafe, IResourceEventReceiver, IRepositoryService, IEventReceiver

public class AttachmentCountManager
extends AbstractRepositoryService
implements IResourceEventReceiver, IThreadSafe, IReconfigurable

Interface for the attachment service. Attachments are stored as Files in the Repository "attachment". Copyright (c) SAP AG 2002


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sapportals.wcm.repository.service.AbstractRepositoryService
AbstractRepositoryService.CONFIG_ATTRIBUTE_NAME
 
Field Summary
 
Fields inherited from class com.sapportals.wcm.repository.service.AbstractRepositoryService
config, description, id, PARAMETER_ACTION, PARAMETER_FALSE, PARAMETER_IS_GLOBAL, PARAMETER_LOCATION, PARAMETER_POPUP, PARAMETER_PREFIX, PARAMETER_REPOSITORY, PARAMETER_RESOURCE, PARAMETER_SERVICE, PARAMETER_TRUE, properties, stateHandler
 
Constructor Summary
AttachmentCountManager()
          Constructor for the GlobalAttachmentManager object
 
Method Summary
 String getServiceType()
          Get the service's service type, as defined in IWcmConfig.
 void received(IEvent event)
          This method will be called by the broker with an event.
 void reconfigure(IConfiguration configuration)
          Passes the new configuration data to the component.
protected  void startUpImpl(Collection repositoryManagers)
          Description of the Method
 
Methods inherited from class com.sapportals.wcm.repository.service.AbstractRepositoryService
acceptServletCall, addRepositoryAssignment, configure, convertConfigData, convertConfigToProperties, convertConfigToProperties, convertStatus, createPropertyList, getCreationDate, getDescription, getDescription, getID, getInstanceType, getLastConfigurationException, getLastReconfigurationDate, getName, getNextAutoRestartDate, getProperties, getStartupException, getState, notify, removeRepositoryAssignment, retrieveMonitorData, shutDown, shutDownImpl, start, startUp, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentCountManager

public AttachmentCountManager()
Constructor for the GlobalAttachmentManager object

Method Detail

getServiceType

public String getServiceType()
Description copied from interface: IRepositoryService
Get the service's service type, as defined in IWcmConfig.

Specified by:
getServiceType in interface IRepositoryService
Returns:
The service type constant for this service.

received

public void received(IEvent event)
Description copied from interface: IEventReceiver
This method will be called by the broker with an event.

Specified by:
received in interface IEventReceiver
Parameters:
event - the event sent by the sender (maybe mapped, see IEventMapper).

startUpImpl

protected void startUpImpl(Collection repositoryManagers)
                    throws ConfigurationException,
                           StartupException
Description of the Method

Overrides:
startUpImpl in class AbstractRepositoryService
Parameters:
repositoryManagers - Description of the Parameter
Throws:
ConfigurationException - Exception raised in failure situation
StartupException - Exception raised in failure situation

reconfigure

public void reconfigure(IConfiguration configuration)
                 throws ConfigurationException
Description copied from interface: IReconfigurable
Passes the new configuration data to the component. This method is called by the CRT whenever the configuration was changed.

Specified by:
reconfigure in interface IReconfigurable
Parameters:
configuration - The new configuration data.
Throws:
ConfigurationException - Exception raised in failure situation


Copyright 2011 SAP AG Complete Copyright Notice