Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.context
Class ServerContextBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.context.ServerContextBean
All Implemented Interfaces:
java.io.Serializable

@Name(value="serverLocator")
@Scope(value=CONVERSATION)
@Install(precedence=10)
public class ServerContextBean
extends java.lang.Object
implements java.io.Serializable

Externalize serverLocation Factory to avoid NavigationContext reentrant calls

Author:
Thierry Delprat
See Also:
Serialized Form

Constructor Summary
ServerContextBean()
           
 
Method Summary
 RepositoryLocation getCurrentServerLocation()
           
 void setRepositoryLocation(RepositoryLocation serverLocation)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerContextBean

public ServerContextBean()
Method Detail

getCurrentServerLocation

@Factory(value="currentServerLocation",
         scope=EVENT)
public RepositoryLocation getCurrentServerLocation()

setRepositoryLocation

public void setRepositoryLocation(RepositoryLocation serverLocation)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.