FileDocCategorySizeDatePackage
FrameHolder.javaAPI DocGlassfish v2 API3545Fri May 04 22:24:36 BST 2007com.sun.enterprise.config.serverbeans.validation

FrameHolder

public class FrameHolder extends Object
FrameHolder.java
author
Toby H Ferguson
version
$Revision: 1.4 $

Fields Summary
private final Frame
domain
private final Map
configFrames
private final Map
serverFrames
private final Map
clusterFrames
Constructors Summary
Methods Summary
public booleanequals(java.lang.Object o)

        return o == this ||
        (o != null && o instanceof FrameHolder && this.equals((FrameHolder) o));
    
private booleanequals(com.sun.enterprise.config.serverbeans.validation.FrameHolder o)

        return this.domain.equals( o.domain) &&
        this.configFrames.equals(o.configFrames) &&
        this.serverFrames.equals(o.serverFrames) &&
        this.clusterFrames.equals(o.clusterFrames);
    
FramegetClusterFrame(java.lang.String n)

        return memoizedGet(clusterFrames, n);
    
FramegetConfigFrame(java.lang.String n)

        return memoizedGet(configFrames, n);
    
FramegetDomainFrame()

        return domain;
    
FramegetServerFrame(java.lang.String n)

        return memoizedGet(serverFrames, n);
    
public inthashCode()

        return getDomainFrame().hashCode();
    
private final FramememoizedGet(java.util.Map m, java.lang.String n)

        Frame result = (Frame) m.get(n);
        if (result == null) {
            result = Frame.newFrame();
            m.put(n, result);
        }
        return result;