alma::acs::nc::ArchiveSupplier Class Reference
List of all members.
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
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] |
| String alma::acs::nc::ArchiveSupplier::getChannelKind |
( |
|
) |
[inline, protected] |
| String alma::acs::nc::ArchiveSupplier::getNotificationFactoryName |
( |
|
) |
[inline, protected] |
| 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. |
References alma::acs::container::ContainerServicesBase::getAdvancedContainerServices(), alma::acs::container::AdvancedContainerServices::getAny(), 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().
Referenced by alma::demo::test::client::ArchiveSupplierTest::publish().
The documentation for this class was generated from the following file: