FileDocCategorySizeDatePackage
EntryContext.javaAPI DocGlassfish v2 API3500Fri May 04 22:35:48 BST 2007com.sun.enterprise.server.ondemand.entry

EntryContext

public class EntryContext extends Object
Context of an entry to a servicegroup. Each entry point generate such an EntryContext. This object contains information regarding the entry. Servicegroups use this EntryContext to examine the entry request.
author
Binod PG
see
EntryPoint
see
ServerEntryListener
see
ServiceGroup

Fields Summary
private Object
context
private int
type
private com.sun.enterprise.server.ServerContext
sc
Constructors Summary
public EntryContext(Object context, int type)
Creates an entrycontext.

param
context COntext generated by entrypoints.
param
type One of the types specified in EntryPoint interface


                              
         
        this.context = context;
        this.type = type;
    
Methods Summary
public java.lang.Objectget()

        return context;
    
public intgetEntryPointType()

        return this.type;
    
public com.sun.enterprise.server.ServerContextgetServerContext()

        return this.sc;
    
public voidsetEntryPointType(int type)

        this.type = type;
    
public voidsetServerContext(com.sun.enterprise.server.ServerContext sc)

        this.sc = sc;
    
public java.lang.StringtoString()

        return "[ Entry context ] ...[ " + context + " ]";