com.bigdata.jini.start.config
Class HostAllowConstraint

java.lang.Object
  extended by com.bigdata.jini.start.config.AbstractHostConstraint
      extended by com.bigdata.jini.start.config.HostAllowConstraint
All Implemented Interfaces:
IServiceConstraint, Serializable

public class HostAllowConstraint
extends AbstractHostConstraint

Allows any of the specified hosts.

Version:
$Id$
Author:
Bryan Thompson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bigdata.jini.start.config.AbstractHostConstraint
hosts
 
Constructor Summary
HostAllowConstraint(String host)
           
HostAllowConstraint(String[] host)
           
 
Method Summary
 boolean allow()
           
 
Methods inherited from class com.bigdata.jini.start.config.AbstractHostConstraint
allow, allow, isLocalHost, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostAllowConstraint

public HostAllowConstraint(String host)
                    throws UnknownHostException
Throws:
UnknownHostException

HostAllowConstraint

public HostAllowConstraint(String[] host)
                    throws UnknownHostException
Throws:
UnknownHostException
Method Detail

allow

public boolean allow()
Specified by:
allow in class AbstractHostConstraint


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.