com.ibm.websphere.csi

Interface J2EEName

  • All Superinterfaces:
    java.io.Serializable


    public interface J2EEName
    extends java.io.Serializable
    J2EEName instances are used to encapsulate the Application-Module-Component name for uniquely identifying EJBs in an application. An object implementing this interface must also correctly implement the hashCode and equals methods.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getApplication()
      Returns the application name.
      byte[] getBytes()
      Returns a serialized name that can be passed in to {@link J2EENameFactory#create(byte[]) to create the name.
      java.lang.String getComponent()
      Returns the component name, or null for J2EENames representing applications or modules.
      java.lang.String getModule()
      Returns the module name, or null for J2EENames representing applications.
      java.lang.String toString()
      Returns a J2EEName in the format app#mod#comp for a component, app#mod for a module, or app for an application.
    • Method Detail

      • toString

        java.lang.String toString()
        Returns a J2EEName in the format app#mod#comp for a component, app#mod for a module, or app for an application.
        Overrides:
        toString in class java.lang.Object
      • getApplication

        java.lang.String getApplication()
        Returns the application name.
        Returns:
        application name
      • getModule

        java.lang.String getModule()
        Returns the module name, or null for J2EENames representing applications.
        Returns:
        module name, or null
      • getComponent

        java.lang.String getComponent()
        Returns the component name, or null for J2EENames representing applications or modules.
        Returns:
        component name, or null
      • getBytes

        byte[] getBytes()
        Returns a serialized name that can be passed in to {@link J2EENameFactory#create(byte[]) to create the name.
IBM WebSphere Application ServerTM
Release 8.5