[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Gavin King
gavin.king at jboss.com
Wed Jun 20 16:24:08 EDT 2007
User: gavin
Date: 07/06/20 16:24:08
Added: src/main/org/jboss/seam/core Contexts.java
Log:
El cant call static method
Revision Changes Path
1.1 date: 2007/06/20 20:24:08; author: gavin; state: Exp;jboss-seam/src/main/org/jboss/seam/core/Contexts.java
Index: Contexts.java
===================================================================
/*
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.seam.core;
import static org.jboss.seam.annotations.Install.BUILT_IN;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Install;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.contexts.Context;
/**
* Provides access to the current contexts associated with the thread.
*
* @author Gavin King
*/
@Name("org.jboss.seam.core.contexts")
@BypassInterceptors
@Install(precedence=BUILT_IN)
@Scope(ScopeType.APPLICATION)
public class Contexts
{
public Context getEventContext()
{
return org.jboss.seam.contexts.Contexts.getEventContext();
}
public Context getMethodContext()
{
return org.jboss.seam.contexts.Contexts.getMethodContext();
}
public Context getPageContext()
{
return org.jboss.seam.contexts.Contexts.getPageContext();
}
public Context getSessionContext()
{
return org.jboss.seam.contexts.Contexts.getSessionContext();
}
public Context getApplicationContext()
{
return org.jboss.seam.contexts.Contexts.getApplicationContext();
}
public Context getConversationContext()
{
return org.jboss.seam.contexts.Contexts.getConversationContext();
}
public Context getBusinessProcessContext()
{
return org.jboss.seam.contexts.Contexts.getBusinessProcessContext();
}
}
More information about the jboss-cvs-commits
mailing list