org.mule.config.factories
Class HostNameFactory

java.lang.Object
  extended by org.mule.config.factories.HostNameFactory
All Implemented Interfaces:
PropertyFactory

public class HostNameFactory
extends java.lang.Object
implements PropertyFactory

Extracts the local hostname from the local system


Field Summary
protected static Log logger
           
 
Constructor Summary
HostNameFactory()
           
 
Method Summary
 java.lang.Object create(java.util.Map<?,?> props)
          Creates a property using code execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Log logger
Constructor Detail

HostNameFactory

public HostNameFactory()
Method Detail

create

public java.lang.Object create(java.util.Map<?,?> props)
                        throws java.lang.Exception
Description copied from interface: PropertyFactory
Creates a property using code execution.

Specified by:
create in interface PropertyFactory
Parameters:
props - The map of properties preceeding this
Returns:
an object that will become the value of a property with a name that matches the 'name' attribute on the element.
Throws:
java.lang.Exception


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.