org.jboss.portal.registration
Class RegistrationLocal

java.lang.Object
  extended by org.jboss.portal.registration.RegistrationLocal

public class RegistrationLocal
extends java.lang.Object

Hold registration provided by the consumer for the duration of the invocation.

Since:
2.6
Version:
$Revision: 8784 $
Author:
Julien Viet

Constructor Summary
RegistrationLocal()
           
 
Method Summary
static Registration getRegistration()
           
static void setRegistration(Registration registration)
          Sets the current registration for the Consumer for the current invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationLocal

public RegistrationLocal()
Method Detail

setRegistration

public static void setRegistration(Registration registration)
Sets the current registration for the Consumer for the current invocation.

Parameters:
registration - the Registration associated with the Consumer. Set to null if no Registration exists for the current Consumer.

getRegistration

public static Registration getRegistration()