psdi.app.configure

Class MaxService

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, MaxServiceRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class MaxService
    extends Mbo
    implements MaxServiceRemote
    Mbo object to represent MaxService.

    See Configure Package description.

    This is a system level object.

    The key attribute for this object is ServiceName.

    The attributes in this object are as follows:

    Attribute NameDescription
    ClassNameName of the Java class for this service. For example, psdi.app.calendar.CalendarService. The return value from that class's getName() method will equal this ServiceName.
    DescriptionFreeform description.
    InternalIndicated whether this service is essential for the system to function. Internal services cannot be deleted.
    ServiceNameUnique identifier for this object.
    • Constructor Detail

      • MaxService

        public MaxService(MboSet ms)
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        InternalFalse
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Description copied from class: Mbo
        Can the object be deleted ? This is object specific and should be overridden.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException