fr.dyade.aaa.jndi2.server
Class AgentEntryPoint

java.lang.Object
  extended by fr.dyade.aaa.jndi2.server.AgentEntryPoint
All Implemented Interfaces:
EntryPoint, java.io.Serializable

public class AgentEntryPoint
extends java.lang.Object
implements EntryPoint

See Also:
Serialized Form

Field Summary
private  RequestManager manager
           
private static long serialVersionUID
          define serialVersionUID for interoperability
 
Constructor Summary
AgentEntryPoint()
           
 
Method Summary
 boolean accept(AgentId from, Notification not)
           
private  void doReact(AgentId from, JndiScriptRequestNot not)
          Reacts to a JNDI script request.
 void setRequestManager(RequestManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
define serialVersionUID for interoperability

See Also:
Constant Field Values

manager

private RequestManager manager
Constructor Detail

AgentEntryPoint

public AgentEntryPoint()
Method Detail

setRequestManager

public void setRequestManager(RequestManager manager)

accept

public boolean accept(AgentId from,
                      Notification not)
               throws java.lang.Exception
Specified by:
accept in interface EntryPoint
Throws:
java.lang.Exception

doReact

private void doReact(AgentId from,
                     JndiScriptRequestNot not)
              throws java.lang.Exception
Reacts to a JNDI script request. This is the notification entry point.

Parameters:
not - the JNDI script
Throws:
java.lang.Exception


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.