FileDocCategorySizeDatePackage
CallFlowMonitorImpl.javaAPI DocGlassfish v2 API5911Fri May 04 22:23:30 BST 2007com.sun.enterprise.management.monitor

CallFlowMonitorImpl

public final class CallFlowMonitorImpl extends MonitoringImplBase
see
CallFlowMonitor

Fields Summary
private boolean
mCallFlowEnabled
Constructors Summary
public CallFlowMonitorImpl()

	    super( XTypes.CALL_FLOW_MONITOR );
	    mCallFlowEnabled    = false;        
            
	
Methods Summary
public voidclearData()

        final Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();        
        callflowAgent.clearData();
    
public booleandeleteRequestIDs(java.lang.String[] requestId)

        final Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();        
        return callflowAgent.deleteRequestIds(requestId);
    
public java.lang.StringgetCallerIPFilter()

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        return callflowAgent.getCallerIPFilter();
    
public java.lang.StringgetCallerPrincipalFilter()

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        return callflowAgent.getCallerPrincipalFilter();
    
public booleangetEnabled()

        return mCallFlowEnabled;
    
public java.util.ListqueryCallStackForRequest(java.lang.String rid)

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent(); 
        return callflowAgent.getCallStackForRequest (rid);
    
public java.lang.String[]queryComponentTypeKeys()

        String[] componentType = 
        {
            CallFlowMonitor.BEAN_MANAGED_PERSISTENCE,
            CallFlowMonitor.CONTAINER_MANAGED_PERSISTENCE,
            CallFlowMonitor.MESSAGE_DRIVEN_BEAN,
            CallFlowMonitor.SERVLET,
            CallFlowMonitor.SERVLET_FILTER,
            CallFlowMonitor.STATEFUL_SESSION_BEAN,
            CallFlowMonitor.STATELESS_SESSION_BEAN
        };
        return componentType;
    
public java.lang.String[]queryContainerTypeOrApplicationTypeKeys()

        String[] containerType = 
        {
            CallFlowMonitor.WEB_CONTAINER,
            CallFlowMonitor.EJB_CONTAINER,
            CallFlowMonitor.ORB,
            CallFlowMonitor.WEB_APPLICATION,
            CallFlowMonitor.EJB_APPLICATION,     
            CallFlowMonitor.OTHER        
        };
        return containerType;
    
public java.util.MapqueryPieInformation(java.lang.String rid)

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        return callflowAgent.getPieInformation(rid);        
    
public java.util.ListqueryRequestInformation()

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();        
        return callflowAgent.getRequestInformation ();
    
public java.lang.String[]queryRequestTypeKeys()

        String[] requestType = 
            {
            CallFlowMonitor.REMOTE_ASYNC_MESSAGE, 
            CallFlowMonitor.REMOTE_EJB,
            CallFlowMonitor.REMOTE_WEB,
            CallFlowMonitor.REMOTE_WEB_SERVICE,
            CallFlowMonitor.TIMER_EJB
            };
            
            return requestType;
    
public voidsetCallerIPFilter(java.lang.String filter)

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        callflowAgent.setCallerIPFilter(filter);        
    
public voidsetCallerPrincipalFilter(java.lang.String filter)

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        callflowAgent.setCallerPrincipalFilter(filter);
    
public voidsetEnabled(boolean enabled)

        final Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        callflowAgent.setEnable(enabled);
        mCallFlowEnabled = callflowAgent.isEnabled ();