com.gridsystems.nextgrid.api.pom.components
Class DefaultSelector

java.lang.Object
  extended by com.gridsystems.nextgrid.api.pom.components.DefaultSelector
All Implemented Interfaces:
nextgrid.api.env.ProcessSelector

public class DefaultSelector
extends java.lang.Object
implements nextgrid.api.env.ProcessSelector

Implementation of very simple selector and prioritiser interfaces.

Author:
Rodrigo Ruiz

Constructor Summary
DefaultSelector()
          Creates a new instance.
 
Method Summary
 java.net.URI getId()
          
 void select(nextgrid.api.pom.Process p)
          
 void setId(java.net.URI id)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSelector

public DefaultSelector()
Creates a new instance.

Method Detail

getId

public java.net.URI getId()

Specified by:
getId in interface nextgrid.api.env.ProcessSelector

select

public void select(nextgrid.api.pom.Process p)
            throws nextgrid.api.env.SelectionException

Specified by:
select in interface nextgrid.api.env.ProcessSelector
Throws:
nextgrid.api.env.SelectionException

setId

public void setId(java.net.URI id)

Specified by:
setId in interface nextgrid.api.env.ProcessSelector


Copyright © 2006-2008 Grid Systems, S.A.. All Rights Reserved.