FileDocCategorySizeDatePackage
RemoteJmxProtocol.javaAPI DocGlassfish v2 API3888Fri May 04 22:36:30 BST 2007com.sun.enterprise.admin.jmx.remote.server.rmi

RemoteJmxProtocol

public class RemoteJmxProtocol extends Object
An enumerated type for the Remote Jmx protocol.
author
mailto:Kedar.Mhaswade@Sun.Com
since
Sun Java System Application Server 8

Fields Summary
private final String
prtr
public static final RemoteJmxProtocol
RMIJRMP
Field
public static final RemoteJmxProtocol
RMIIIOP
Field
public static final RemoteJmxProtocol
JMXMP
Field
Constructors Summary
private RemoteJmxProtocol(String prtr)
Creates a new instance of RemoteJmxProtocol

    /*Implementation note: The fields above are defined per default values in DTD */
           
        
        this.prtr = prtr;
    
Methods Summary
public java.lang.StringgetName()

        return ( this.prtr );
    
public static com.sun.enterprise.admin.jmx.remote.server.rmi.RemoteJmxProtocolinstance(java.lang.String prtr)

        if (RMIJRMP.getName().equals(prtr))
            return ( RMIJRMP );
        else if (RMIIIOP.getName().equals(prtr))
            return ( RMIIIOP );
        else if (JMXMP.getName().equals(prtr))
            return ( JMXMP );
        else
            throw new UnsupportedOperationException("Unsupported: " + prtr);