Public Member Functions | Protected Member Functions

alma.acs.nc.ArchiveSupplier Class Reference

Inheritance diagram for alma.acs.nc.ArchiveSupplier:
alma.acs.nc.SimpleSupplier alma.acs.nc.ReconnectableSubscriber

List of all members.

Public Member Functions

 ArchiveSupplier (ContainerServicesBase services) throws AcsJException
void publishEvent (Object value) throws AcsJException

Protected Member Functions

String getChannelKind ()
String getNotificationFactoryName ()
String getChannelDomain ()

Detailed Description

Used to supply (BACI property) events to the archiving notification channel.

Author:
dfugate
Version:
Id:
ArchiveSupplier.java,v 1.10 2009/09/16 23:03:49 javarias Exp

Constructor & Destructor Documentation

alma.acs.nc.ArchiveSupplier.ArchiveSupplier ( ContainerServicesBase  services  )  throws AcsJException

Creates a new instance of ArchiveSupplier

Parameters:
services This is used to get the name of the component and to access the ACS logging system.
Exceptions:
AcsJException There are literally dozens of CORBA exceptions that could be thrown by the ArchiveSupplier class. Instead, these are converted into an ACS Error System exception for the developer's convenience.

Member Function Documentation

String alma.acs.nc.ArchiveSupplier.getChannelDomain (  )  [protected]

Overridden.

Returns:
string

Reimplemented from alma.acs.nc.SimpleSupplier.

String alma.acs.nc.ArchiveSupplier.getChannelKind (  )  [protected]

Overridden.

Returns:
string

Reimplemented from alma.acs.nc.SimpleSupplier.

String alma.acs.nc.ArchiveSupplier.getNotificationFactoryName (  )  [protected]

Overridden.

Returns:
string

Reimplemented from alma.acs.nc.SimpleSupplier.

void alma.acs.nc.ArchiveSupplier.publishEvent ( Object  value  )  throws AcsJException

Takes an object and tries to pack it into a CORBA Any and publish it to the event channel.

The parameter obj can be one of the JDK classes Integer, Long, Float, Double, String. It could also be null, or come from an IDL-defined struct (thus implementing IDLEntity); at least the latter should never occur since baci properties don't have complex values.

Parameters:
customStruct An instance of the IDL struct (Java class) to be published.
Exceptions:
AcsJException There are an enormous amount of possibilities pertaining to why a subclass of AcsJException would be thrown by publishEvent.

References alma.acs.container.ContainerServicesBase.getAdvancedContainerServices(), alma.acs.nc.SimpleSupplier.getCORBAEvent(), alma.acs.container.ContainerServicesBase.getName(), alma.acs.nc.SimpleSupplier.m_anyAide, alma.acs.nc.SimpleSupplier.m_services, alma.acs.nc.AnyAide.objectToCorbaAny(), and alma.acs.nc.SimpleSupplier.publishCORBAEvent().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties