public class OfficeFloorObjectFactory extends Object implements ObjectFactory
ObjectFactory
for creating an OfficeFloor
.Modifier and Type | Field and Description |
---|---|
static String |
OFFICE_FLOOR_CONFIGURATION_FILE_EXTENSION
File extension for an
OfficeFloor configuration file. |
static String |
OFFICE_FLOOR_PROPERTIES_FILE_EXTENSION
File extension for a properties file containing the properties to run an
OfficeFloor . |
static String |
PROPERTY_OFFICE_FLOOR_CONFIGURATION_PATH
Property identifying the resource path to the
OfficeFloor
configuration file within the ClassLoader . |
Constructor and Description |
---|
OfficeFloorObjectFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment) |
public static final String OFFICE_FLOOR_CONFIGURATION_FILE_EXTENSION
OfficeFloor
configuration file.public static final String OFFICE_FLOOR_PROPERTIES_FILE_EXTENSION
OfficeFloor
.public static final String PROPERTY_OFFICE_FLOOR_CONFIGURATION_PATH
OfficeFloor
configuration file within the ClassLoader
.public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
getObjectInstance
in interface ObjectFactory
Exception
Copyright © 2005–2016. All rights reserved.