org.mule.config.factories
Class HostNameFactory
java.lang.Object
org.mule.config.factories.HostNameFactory
- All Implemented Interfaces:
- PropertyFactory
public class HostNameFactory
- extends Object
- implements PropertyFactory
Extracts the local hostname from the local system
Method Summary |
Object |
create(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 |
logger
protected static final Log logger
HostNameFactory
public HostNameFactory()
create
public Object create(Map<?,?> props)
throws 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:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.