FileDocCategorySizeDatePackage
FilterContext.javaAPI DocGlassfish v2 API4117Fri May 04 22:24:42 BST 2007com.sun.enterprise.admin.wsmgmt.filter.spi

FilterContext

public class FilterContext extends Object
Runtime context needed for Filter's execution

Fields Summary
private com.sun.enterprise.webservice.monitoring.Endpoint
endpoint
private com.sun.enterprise.webservice.monitoring.TransportInfo
tInfo
private com.sun.enterprise.admin.wsmgmt.SOAPMessageContext
mCtx
private String
mId
private String
fqn
private boolean
mIsCallFlowEnabled
private long
execTime
Constructors Summary
public FilterContext(com.sun.enterprise.webservice.monitoring.Endpoint ep, boolean callFlow, com.sun.enterprise.webservice.monitoring.TransportInfo info, com.sun.enterprise.admin.wsmgmt.SOAPMessageContext ctx, String id, String f)
Public constructor.

param
ep Endpoint information
param
callFlow true, if CallFlow is enabled, otherwise false
param
info Physical transport information
param
ctx Message context for this web service invocation
param
id Id of the message


        endpoint = ep;
        tInfo = info;
        mCtx = ctx;
        mId = id;
        fqn = f;
        mIsCallFlowEnabled = callFlow;
        // note down when the filter context is created
        execTime = System.currentTimeMillis();
    
Methods Summary
public com.sun.enterprise.webservice.monitoring.EndpointgetEndpoint()

        return endpoint;
    
public longgetExecutionTime()

        return execTime;
    
public java.lang.StringgetFullyQualifiedName()

        return fqn;
    
public com.sun.enterprise.admin.wsmgmt.SOAPMessageContextgetMessageContext()

        return mCtx;
    
public java.lang.StringgetMessageId()

        return mId;
    
public com.sun.enterprise.webservice.monitoring.TransportInfogetTransportInfo()

        return tInfo;
    
public booleanisCallFlowEnabled()

        return mIsCallFlowEnabled;
    
public voidsetEndpoint(com.sun.enterprise.webservice.monitoring.Endpoint e)

        endpoint = e;
    
public voidsetExecutionTime(long e)

        execTime = e;
    
public voidsetFullyQualifiedName(java.lang.String f)

        fqn = f;
    
public voidsetMessageContext(com.sun.enterprise.admin.wsmgmt.SOAPMessageContext ctx)

        mCtx = ctx;
    
public voidsetTransportInfo(com.sun.enterprise.webservice.monitoring.TransportInfo t)

        tInfo = t;