org.ogf.graap.wsag.wsrf.sg.impl
Class MembershipContentRuleContext

java.lang.Object
  extended by org.ogf.graap.wsag.wsrf.sg.impl.MembershipContentRuleContext

public class MembershipContentRuleContext
extends Object

MembershipContentRuleContext A MembershipContentRule may lookup the QName of the port type for resources that are created locally via the MembershipContentRuleContext. The port type QName is set by the @see ServiceGroup resourceAdded method, and is unset after invocation.

Author:
Oliver Waeldrich

Constructor Summary
MembershipContentRuleContext()
           
 
Method Summary
static void finalizeContext()
          Unsets the ThreadLocal during the shutdown process of the WSAG4JResourceRouter in order to prevent memory leaks.
static EndpointReferenceType getFactoryEPR()
           
static QName getPortTypeQName()
           
static EndpointReferenceType getRegistryEPR()
           
static void initializeContext()
          Initializes the ThreadLocal during the initialization of the WSAG4JResourceRouter.
static void setFactoryEPR(EndpointReferenceType epr)
           
static void setPortTypeQName(QName porttype)
           
static void setRegistryEPR(EndpointReferenceType epr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MembershipContentRuleContext

public MembershipContentRuleContext()
Method Detail

initializeContext

public static void initializeContext()
Initializes the ThreadLocal during the initialization of the WSAG4JResourceRouter.

See Also:
WSAG4JResourceRouter.initialize(), WSAG4JContextListener.contextInitialized(javax.servlet.ServletContextEvent)

finalizeContext

public static void finalizeContext()
Unsets the ThreadLocal during the shutdown process of the WSAG4JResourceRouter in order to prevent memory leaks.

See Also:
WSAG4JResourceRouter.shutdown(), WSAG4JContextListener.contextDestroyed(javax.servlet.ServletContextEvent)

getPortTypeQName

public static QName getPortTypeQName()
Returns:
the QName of the implemented port type

setPortTypeQName

public static void setPortTypeQName(QName porttype)
Parameters:
porttype - the QName of the implemented port type

getFactoryEPR

public static EndpointReferenceType getFactoryEPR()
Returns:
the agreement factory EPR

setFactoryEPR

public static void setFactoryEPR(EndpointReferenceType epr)
Parameters:
epr - the agreement factory EPR

getRegistryEPR

public static EndpointReferenceType getRegistryEPR()
Returns:
the agreement registry EPR

setRegistryEPR

public static void setRegistryEPR(EndpointReferenceType epr)
Parameters:
epr - the agreement registry EPR


Copyright © 2008-2012. All Rights Reserved.