Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::nc::ArchiveSupplier Class Reference

Inheritance diagram for alma::acs::nc::ArchiveSupplier:

Inheritance graph
[legend]
Collaboration diagram for alma::acs::nc::ArchiveSupplier:

Collaboration graph
[legend]
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.9 2007/11/05 20:20:56 hsommer Exp


Constructor & Destructor Documentation

alma::acs::nc::ArchiveSupplier::ArchiveSupplier ContainerServicesBase  services  )  throws AcsJException [inline]
 

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  )  [inline, protected]
 

Overridden.

Returns:
string

Reimplemented from alma::acs::nc::SimpleSupplier.

String alma::acs::nc::ArchiveSupplier::getChannelKind  )  [inline, protected]
 

Overridden.

Returns:
string

Reimplemented from alma::acs::nc::SimpleSupplier.

String alma::acs::nc::ArchiveSupplier::getNotificationFactoryName  )  [inline, protected]
 

Overridden.

Returns:
string

Reimplemented from alma::acs::nc::SimpleSupplier.

void alma::acs::nc::ArchiveSupplier::publishEvent Object  value  )  throws AcsJException [inline]
 

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.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:54:26 2009 for ACS Java API by doxygen 1.3.8