Package fr.dyade.aaa.jndi2.server
Class AgentEntryPoint
- java.lang.Object
-
- fr.dyade.aaa.jndi2.server.AgentEntryPoint
-
- All Implemented Interfaces:
EntryPoint,Serializable
public class AgentEntryPoint extends Object implements EntryPoint
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private RequestManagermanagerprivate static longserialVersionUIDdefine serialVersionUID for interoperability
-
Constructor Summary
Constructors Constructor Description AgentEntryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(AgentId from, Notification not)private voiddoReact(AgentId from, JndiScriptRequestNot not)Reacts to a JNDI script request.voidsetRequestManager(RequestManager manager)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
manager
private RequestManager manager
-
-
Method Detail
-
setRequestManager
public void setRequestManager(RequestManager manager)
-
accept
public boolean accept(AgentId from, Notification not) throws Exception
- Specified by:
acceptin interfaceEntryPoint- Throws:
Exception
-
doReact
private void doReact(AgentId from, JndiScriptRequestNot not) throws Exception
Reacts to a JNDI script request. This is the notification entry point.- Parameters:
from- Identifier of sender.not- the JNDI script- Throws:
Exception- an error occurs.
-
-