jpel.resolver
Class PolicyActivateOnNotify

java.lang.Object
  |
  +--jpel.resolver.PolicyImpl
        |
        +--jpel.resolver.PolicyActivateOnNotify
All Implemented Interfaces:
Policy, java.lang.Runnable

public class PolicyActivateOnNotify
extends PolicyImpl
implements java.lang.Runnable

Define uma politica que notifica os listeners quando recebe uma solicitação.


Constructor Summary
PolicyActivateOnNotify()
           
 
Method Summary
 void addConfiguration(jpel.resolver.Configuration conf)
           
 void callAll()
           
 void finish()
           
 int getPort()
           
 void removeConfiguration(jpel.resolver.Configuration conf)
           
 void run()
           
 void setPort(int port)
           
 void start()
           
 
Methods inherited from class jpel.resolver.PolicyImpl
addPolicyListener, firePolicyActivated, removePolicyListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyActivateOnNotify

public PolicyActivateOnNotify()
Method Detail

setPort

public void setPort(int port)

getPort

public int getPort()

addConfiguration

public void addConfiguration(jpel.resolver.Configuration conf)
                      throws PolicyException
Specified by:
addConfiguration in interface Policy
PolicyException

removeConfiguration

public void removeConfiguration(jpel.resolver.Configuration conf)
                         throws PolicyException
Specified by:
removeConfiguration in interface Policy
PolicyException

finish

public void finish()

start

public void start()
Specified by:
start in interface Policy

run

public void run()
Specified by:
run in interface java.lang.Runnable

callAll

public void callAll()