Class GenericComponentManagementBean

  • All Implemented Interfaces:
    BaseClientInterface, GenericComponentManagementOperationsInterface, PingClientInterface, PingOperationsInterface, java.lang.AutoCloseable

    public class GenericComponentManagementBean
    extends AbstractGenericComponentManagementBean
    implements GenericComponentManagementOperationsInterface
    GenericComponentManagementBean is a JavaBean that provides a way of controlling an arbitrary server that exports a GenericComponentManagement interface. The bean is intended to be a building block for the creation of client applications.

    The main() method provides the ability to run the bean from the command line.

    Note that changes to the value of the "host" or "port" properties that are inherited from the superclass will cause the bean to attempt to re-connect to a server running on a new host/port. This re-connection will happen immediately if the bean was connected at the time of the property change, but will happen later in a "lazy" fashion if there was no existing connection at the time of the property change.

    General pattern of use:

    1. Construct (optionally providing initial values for the host and port properties)
    2. [Optional] Set property values
    3. Tell server to perform actions.