org.sape.carbon.services.deployment.namelookup
Class LocalHostNameLookup

java.lang.Object
  |
  +--org.sape.carbon.services.deployment.namelookup.LocalHostNameLookup
All Implemented Interfaces:
FunctionalInterface, NameLookup

public class LocalHostNameLookup
extends Object
implements NameLookup

Implementation of NameLookup that returns the name of the localhost

Copyright 2003 Sapient

Since:
carbon 2.1
Version:
$Revision: 1.1 $($Author: dvoet $ / $Date: 2003/09/24 20:31:11 $)
Author:
Douglas Voet, Sep 24, 2003

Constructor Summary
LocalHostNameLookup()
           
 
Method Summary
 String lookupName()
          Returns a name that can be used by the Deployment Service as either an environment name or an instance name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalHostNameLookup

public LocalHostNameLookup()
Method Detail

lookupName

public String lookupName()
                  throws NameLookupException
Description copied from interface: NameLookup
Returns a name that can be used by the Deployment Service as either an environment name or an instance name.

Specified by:
lookupName in interface NameLookup
Returns:
environment or instance name
NameLookupException


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.