public Object getObjectInstance( Object object, Name name, Context context,
			Hashtable< ?, ? > enviroment ) 
		throws Exception
	{
		if ( object instanceof Reference )
		{
			Reference reference = ( Reference ) object;
			
			if ( reference.getClass( ).equals( WarehouseConfig.class ) )
			{
				RefAddr maxItemAmountRef = reference.get( WarehouseConfig.MAX_ITEM_AMOUNT );
				RefAddr maxOneTypeItemAmountRef = reference.get( WarehouseConfig.MAX_ONE_TYPE_ITEM_AMOUNT );
				RefAddr nomenclatureUpdateFrequencyRef = reference.get( WarehouseConfig.NOMENCLATURE_UPDATE_FREQUENCY );
				RefAddr nameRef = reference.get( WarehouseConfig.NAME );
				
				if ( GeneralUtil.areNotNull( maxItemAmountRef, maxOneTypeItemAmountRef, nomenclatureUpdateFrequencyRef, name ) )
				{
					return new WarehouseConfig( 
							getIntegerContent( maxItemAmountRef ), 
							getIntegerContent( maxOneTypeItemAmountRef ),
							getIntegerContent( nomenclatureUpdateFrequencyRef ), 
							getContent( nameRef ) ); 
				}
			}
		}
			
		return null;
	}