Interface CometConfigurationRemote


public interface CometConfigurationRemote
Remote interface to access the comet configuration bean from external JVM.

This is intended for testing purposes only and maybe removed or changed without notice.

For all normal work please use CometConfigurationLocal interface instead.

  • Field Details

    • MAPPED_NAME

      static final String MAPPED_NAME

      The mapped name of the CometConfiguration Plugin

      Use this name when requesting a Plugin instance from the PluginManager

      .
      See Also:
    • OLD_MAPPED_NAME

      static final String OLD_MAPPED_NAME

      The mapped name of the old CometConfiguration Plugin

      Use this name when requesting a Plugin instance from the PluginManager

      .
      See Also:
    • MAPPED_NAME_LOCAL

      static final String MAPPED_NAME_LOCAL

      The mapped name for the local bean

      This is the same like "com.priint.pubserver.comet.config.CometConfiguration"

      .
      See Also:
    • MAPPED_NAME_REMOTE

      static final String MAPPED_NAME_REMOTE

      The mapped name for the remote bean

      .
      See Also:
    • JNDINAME

      static final String JNDINAME

      JNDI name for the remote interface

      Use this name when connecting to the server via a remote EJB client, e.g.

                      Properties properties = new Properties();
                      properties.setProperty("java.naming.factory.initial",       "com.sun.enterprise.naming.SerialInitContextFactory");
                      properties.setProperty("java.naming.factory.url.pkgs",          "com.sun.enterprise.naming");
                      properties.setProperty("java.naming.factory.state",             "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
                      properties.setProperty("org.omg.CORBA.ORBInitialHost",      "<your server name>");
                      properties.setProperty("org.omg.CORBA.ORBInitialPort",      "<your server's ORB port>");
       
                      InitialContext initialContext = new InitialContext(properties);
              CometConfigurationRemote bridge = (CometConfigurationRemote)initialContext.lookup(com.priint.pubserver.comet.config.CometConfigurationRemote.JNDINAME);      
       

      See Also:
    • SESSION_PREFIX

      static final String SESSION_PREFIX
      The Constant SESSION_PREFIX: "cometConfiguration::"
      See Also:
    • SESSION_CLIENT_PROPERTY

      static final String SESSION_CLIENT_PROPERTY
      The Constant SESSION_CLIENT_PROPERTY: SESSION_PREFIX + "client"
      See Also:
    • SESSION_PROJECT_PROPERTY

      static final String SESSION_PROJECT_PROPERTY
      The Constant SESSION_PROJECT_PROPERTY: SESSION_PREFIX + "project"
      See Also:
    • SESSION_LANGUAGE_PROPERTY

      static final String SESSION_LANGUAGE_PROPERTY
      The Constant SESSION_LANGUAGE_PROPERTY: SESSION_PREFIX + "language"
      See Also:
    • SESSION_REGION_PROPERTY

      static final String SESSION_REGION_PROPERTY
      The Constant SESSION_REGION_PROPERTY: SESSION_PREFIX + "region"
      See Also:
    • ENV_PLACEHOLDER_PROPERTY

      static final String ENV_PLACEHOLDER_PROPERTY
      The Constant ENV_PLACEHOLDER_PROPERTY: SESSION_PREFIX + "placeholder"
      See Also:
    • ENV_SUBJECT_PROPERTY

      static final String ENV_SUBJECT_PROPERTY
      The Constant ENV_SUBJECT_PROPERTY: SESSION_PREFIX + "subject"
      See Also:
    • ENV_VARNAME_PROPERTY

      static final String ENV_VARNAME_PROPERTY
      The Constant ENV_VARNAME_PROPERTY: SESSION_PREFIX + "variableName"
      See Also:
    • PROJECT_FILENAME

      static final String PROJECT_FILENAME
      The Constant PROJECT_FILENAME: "cometproject.xml"
      See Also:
    • INDEX_FILENAME

      static final String INDEX_FILENAME
      The Constant INDEX_FILENAME: "index.xml"
      See Also:
    • NAME_SEPARATOR

      static final String NAME_SEPARATOR
      The Constant NAME_SEPARATOR: "-"
      See Also:
    • SUPPORTED_TYPES

      static final Class<?>[] SUPPORTED_TYPES
      The Constant SUPPORTED_TYPES Class<?>
    • APPLICATIONCONFIG_FILENAME

      static final String APPLICATIONCONFIG_FILENAME
      Constant "application.xml"
      See Also:
  • Method Details